feat: allow publishing with dirty workspace in CI

This commit is contained in:
Manuel Raimann
2026-01-30 19:23:32 +01:00
parent cb5ecf33f0
commit eb57519506
+1 -1
View File
@@ -277,7 +277,7 @@ jobs:
- name: Publish - name: Publish
if: steps.check.outputs.skip == 'false' if: steps.check.outputs.skip == 'false'
run: | run: |
cargo publish 2>&1 | tee publish_output.txt || { cargo publish --allow-dirty 2>&1 | tee publish_output.txt || {
if grep -q "already uploaded" publish_output.txt; then if grep -q "already uploaded" publish_output.txt; then
echo "Version already published, skipping" echo "Version already published, skipping"
exit 0 exit 0