Skip to content

Commit b291bbe

Browse files
authored
Merge pull request #82 from eirtools/fix-release-action
Fix release ci: version selection
2 parents a610f2c + 426b5f2 commit b291bbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
uses: actions/checkout@v5
5757
- name: Publish github
5858
run: |
59-
package_version=$(cargo metadata --format-version 1 --no-deps| jq -r '.packages[].version')
59+
package_version=$(cargo metadata --format-version 1 --no-deps| jq -r '.packages[] | select(.name=="deku_string") .version')
6060
gh release create "v${package_version}" --fail-on-no-commits --generate-notes --latest
6161
env:
6262
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)