From 35b0295edbea00460b59a317ec0fbf6e79ccfc3a Mon Sep 17 00:00:00 2001 From: helgatheviking <507025+helgatheviking@users.noreply.github.com> Date: Thu, 9 Jun 2022 13:03:00 -0600 Subject: [PATCH] update zip file assets to have version/tag in file name. --- .github/workflows/release.yml | 2 +- Gruntfile.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fadc9e7..e482a03 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -105,6 +105,6 @@ jobs: - name: "Add package to GitHub releases." uses: softprops/action-gh-release@v1 with: - files: ./deploy/${{ env.release_tag }}/${{ env.release_name }}.zip + files: ./deploy/${{ env.release_tag }}/${{ env.release_name }}-${{ env.release_tag }}.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Gruntfile.js b/Gruntfile.js index 2ac4524..549d922 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -75,7 +75,7 @@ main: { options: { mode: 'zip', - archive: 'deploy/<%= pkg.version %>/<%= pkg.name %>.zip' + archive: 'deploy/<%= pkg.version %>/<%= pkg.name %>-<%= pkg.version %>.zip' }, expand: true, cwd: 'build/',