ci: add --allow-dirty to cargo publish
This commit is contained in:
parent
78ba9cb34c
commit
0258c009e2
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
mkdir -p ~/.cargo
|
||||
printf '[registries.thetadev]\nindex = "https://code.thetadev.de/ThetaDev/_cargo-index.git"\ntoken = "Bearer ${{ secrets.TOKEN_GITEA }}"\n' >> ~/.cargo/config.toml
|
||||
sed -i "s/^rustypipe.*=\s*{/\0 registry = \"thetadev\",/g" Cargo.toml
|
||||
cargo publish --registry thetadev --package "${{ env.CRATE }}"
|
||||
cargo publish --registry thetadev --allow-dirty --package "${{ env.CRATE }}"
|
||||
git restore Cargo.toml
|
||||
|
||||
- name: 🎉 Publish release
|
||||
|
|
|
|||
Reference in a new issue