Skip to content

Commit

Permalink
using --allow-dirty for publishing changed version (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantcornholio authored Sep 2, 2024
1 parent cb9a6b7 commit 0ba616c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
run: cargo set-version "$(echo "${{ github.ref_name }}" | sed -e 's/^v//')"

- name: Build and publish prdoclib
run: cargo publish -p parity-prdoc --token "${CRATESIO_TOKEN}"
# `set-version` will change Cargo.toml and Cargo.lock
# thus, we need --allow-dirty, to include uncommitted changes;
run: cargo publish --allow-dirty -p parity-prdoc --token "${CRATESIO_TOKEN}"
env:
CRATESIO_TOKEN: ${{ secrets.CRATESIO_TOKEN }}

0 comments on commit 0ba616c

Please sign in to comment.