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 4, 2024
1 parent b694582 commit d9e00ce
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ jobs:
- name: Calculate Version from xxHash3
id: calculate_version
run: |
version_hash=$(python -c "import xxhash; print(xxhash.xxh3_64_hexdigest(open('./minimal_hashes.zip', 'rb').read()))").read()))")
version_hash=$(python -c "import xxhash; print(xxhash.xxh3_64_hexdigest(open('./minimal_hashes.zip', 'rb').read()))")
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 push origin --tags
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -53,6 +54,3 @@ jobs:
asset_path: ./minimal_hashes.zip
asset_name: minimal_hashes.zip
asset_content_type: application/zip



0 comments on commit d9e00ce

Please sign in to comment.