Skip to content

Commit

Permalink
fix: publish after bump of the version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayllyz authored and anonrig committed Jan 19, 2025
1 parent 5d0f63f commit 915f8c0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ jobs:
with:
persist-credentials: true

- name: Publish to crates.io
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

- uses: taiki-e/install-action@v2
with:
tool: cargo-edit
Expand All @@ -103,10 +98,15 @@ jobs:
- name: Tag the version
env:
GIT_TAG: ${{ inputs.publish-tag }}
run: |
run: |+
git tag "${GIT_TAG}"
git push origin "${GIT_TAG}"
- name: Publish to crates.io
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

- name: Create github release
uses: taiki-e/create-gh-release-action@v1
with:
Expand Down

0 comments on commit 915f8c0

Please sign in to comment.