Skip to content

Commit 702b690

Browse files
committed
idiot
1 parent f53483d commit 702b690

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ jobs:
8787
- uses: actions/checkout@v6
8888
- name: install stable rust
8989
run: rustup install stable
90+
- name: set version
91+
run: |
92+
export VERSION=${{ github.ref_name }}
93+
sed -i "s/0.0.0/$VERSION/g" Cargo.toml
94+
working-directory: rust
9095
- name: publish
9196
run: cargo publish --allow-dirty
9297
env:

0 commit comments

Comments
 (0)