Skip to content

Commit

Permalink
Fix release action version
Browse files Browse the repository at this point in the history
  • Loading branch information
quietvoid committed Sep 14, 2024
1 parent 0d750c3 commit 059ecdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/setup-release-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ runs:
- name: Get the package versions
shell: bash
run: |
RELEASE_PKG_VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[0].version')
RELEASE_PKG_VERSION=$(cargo metadata --manifest-path Cargo.toml --format-version 1 --no-deps | jq -r '.packages[] | select(.name=="hdr10plus_tool") | .version')
echo "RELEASE_PKG_VERSION=${RELEASE_PKG_VERSION}" >> $GITHUB_ENV
echo "ARCHIVE_PREFIX=${{ env.RELEASE_BIN }}-${RELEASE_PKG_VERSION}" >> $GITHUB_ENV
Expand Down

0 comments on commit 059ecdf

Please sign in to comment.