Skip to content

Commit

Permalink
Update deployment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Marble879 authored Jan 5, 2024
1 parent 3e1a230 commit 645b48f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: bump-cargo-version
env:
RELEASE_TAG: ${{ github.ref }}
run: sed -i "s/0.0.0/$RELEASE_TAG/g" Cargo.toml
run: |
export VERSION=${{ github.event.release.tag_name }}
sed -i "s/0.0.0/$VERSION/g" Cargo.toml
- name: dry-run
run: cargo publish --dry-run --allow-dirty
- name: publish
Expand Down

0 comments on commit 645b48f

Please sign in to comment.