Skip to content

Commit

Permalink
Update release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
halgari authored Dec 3, 2024
1 parent cdd4042 commit 39b9f7d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,21 @@ jobs:
run: |
apt-get update && apt-get install -y xxhash
version_hash=$(xxhsum -H3 ./minimal_hashes.nx | awk '{print $1}')
echo "Calculated version hash: $version_hash"
echo "::set-output name=version::$version_hash"
- name: Create Tag
run: |
git tag v${{ steps.calculate_version.outputs.version }}
git tag "v${{ steps.calculate_version.outputs.version }}"
git push origin --tags
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: "v${{ steps.calculate_version.outputs.version }}"
release_name: "Release v${{ steps.calculate_version.outputs.version }}"
tag_name: "version-${{ steps.calculate_version.outputs.version }}"
release_name: "Release version-${{ steps.calculate_version.outputs.version }}"
draft: false
prerelease: false

Expand All @@ -61,3 +62,4 @@ jobs:
asset_name: minimal_hashes.nx
asset_content_type: application/octet-stream


0 comments on commit 39b9f7d

Please sign in to comment.