Skip to content

Commit 1995860

Browse files
committed
Set version to 0.1.0 for initial release of simsstring_rust
1 parent 3c49fb6 commit 1995860

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,10 @@ jobs:
109109

110110
- name: Verify tag version matches Cargo.toml version
111111
run: |
112-
CARGO_VERSION=$(cargo pkgid | cut -d# -f2)
112+
CARGO_VERSION=$(grep '^version =' Cargo.toml | cut -d '"' -f2)
113113
TAG_VERSION=${GITHUB_REF#refs/tags/v}
114+
echo "CARGO_VERSION: $CARGO_VERSION"
115+
echo "TAG_VERSION: $TAG_VERSION"
114116
if [ "$CARGO_VERSION" != "$TAG_VERSION" ]; then
115117
echo "Error: Git tag $TAG_VERSION doesn't match Cargo.toml version $CARGO_VERSION"
116118
exit 1

0 commit comments

Comments
 (0)