Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitemaeric committed Oct 18, 2024
1 parent ba08585 commit b13ec43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os.name }}.drenv
path: builds/*
path: ${{ startsWith(matrix.os.runner, 'windows') && 'builds/drenv.exe' || 'builds/drenv' }}

release:
runs-on: ubuntu-latest
Expand All @@ -73,14 +73,11 @@ jobs:
uses: actions/download-artifact@v4
with:
path: builds
- name: List files
run: ls -lahR builds
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: |
builds/x86_64-pc-windows-msvc.drenv
builds/x86_64-apple-darwin.drenv
builds/aarch64-apple-darwin.drenv
builds/x86_64-unknown-linux-gnu.drenv
builds/aarch64-unknown-linux-gnu.drenv
files: builds/*
fail_on_unmatched_files: true
generate_release_notes: true
2 changes: 1 addition & 1 deletion constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const version = "0.3.3";
export const version = "0.3.4";
export const homePath = `${Deno.env.get("HOME")}/.drenv`;
export const versionsPath = `${homePath}/versions`;
export const binPath = `${homePath}/bin`;
Expand Down

0 comments on commit b13ec43

Please sign in to comment.