Skip to content

Commit 426b5f2

Browse files
committed
Fix release ci: version selection
1 parent 4dd320a commit 426b5f2

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)