Skip to content

Commit 3dd9a34

Browse files
committed
ci: use # as version separator for root crate
Apparently, `cargo pkgid` uses `@` to separate for workspace subcrate versions and `#` for the root crate. TIL Signed-off-by: Roman Volosatovs <[email protected]>
1 parent 6666de0 commit 3dd9a34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/wrpc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ jobs:
403403
404404
- name: publish wRPC to crates.io
405405
run: |
406-
pkgver=$(cargo pkgid | cut -d '@' -f 2)
406+
pkgver=$(cargo pkgid | cut -d '#' -f 2)
407407
tagver="${{ steps.ctx.outputs.version }}"
408408
if ! [ "$pkgver" = "$tagver" ]; then
409409
echo "version mismatch, $pkgver (package) != $tagver (tag)"

0 commit comments

Comments
 (0)