Skip to content

Commit

Permalink
ci: use tag version in directory names for automation to download new…
Browse files Browse the repository at this point in the history
… versions

Signed-off-by: simonsan <[email protected]>
  • Loading branch information
simonsan committed Feb 2, 2024
1 parent 2f768fd commit f862b87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ jobs:
sign-release: true
hash-release: true
use-project-version: true
use-tag-version: true # IMPORTANT: this is being used to make sure the tag that is built is in the archive filename, so automation can download the correct version

- name: Creating Release
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
Expand All @@ -125,6 +126,6 @@ jobs:
body_path: ${{ github.workspace }}/CHANGELOG.md
fail_on_unmatched_files: true
files: |
${{ env.BINARY_NAME }}-${{ matrix.job.target}}.tar.gz*
${{ env.BINARY_NAME }}-${{ env.PROJECT_VERSION }}-${{ matrix.job.target}}.tar.gz*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f862b87

Please sign in to comment.