feat: allow publishing with dirty workspace in CI
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user