From e669ce0a5ad705e4c44615b0569fca5b9bdd8a7d Mon Sep 17 00:00:00 2001 From: Daniel Dye Date: Fri, 18 Oct 2024 16:42:32 +0100 Subject: [PATCH] Fix release workflow --- .github/workflows/build_and_release.yml | 13 ++++--------- constants.ts | 2 +- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index bb09172..b5bcf63 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -59,7 +59,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: ${{ matrix.os.name }}.drenv - path: builds/* + path: builds/drenv(.exe)? release: runs-on: ubuntu-latest @@ -71,16 +71,11 @@ jobs: steps: - name: Download artifacts uses: actions/download-artifact@v4 - with: - path: builds + - name: List files + run: ls -lahR - 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 diff --git a/constants.ts b/constants.ts index 347bfca..7e84b47 100644 --- a/constants.ts +++ b/constants.ts @@ -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`;