Skip to content

Commit 9bafaf7

Browse files
authored
Merge pull request #22 from koxudaxi/lockstep-versioning
Allow dirty tree in Rust release workflow
2 parents 54548ae + 737e43c commit 9bafaf7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/publish-rust.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
uses: dtolnay/rust-toolchain@1.94.0
4747

4848
- name: Verify Rust crates package cleanly
49-
run: cargo package --manifest-path rust/Cargo.toml -p tstring-syntax -p tstring-json -p tstring-toml -p tstring-yaml
49+
run: cargo package --allow-dirty --manifest-path rust/Cargo.toml -p tstring-syntax -p tstring-json -p tstring-toml -p tstring-yaml
5050

5151
publish-syntax:
5252
needs: package-check
@@ -68,7 +68,7 @@ jobs:
6868
- name: Publish tstring-syntax
6969
env:
7070
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
71-
run: cargo publish --manifest-path rust/Cargo.toml -p tstring-syntax
71+
run: cargo publish --allow-dirty --manifest-path rust/Cargo.toml -p tstring-syntax
7272

7373
publish-json:
7474
needs: publish-syntax
@@ -93,7 +93,7 @@ jobs:
9393
- name: Publish tstring-json
9494
env:
9595
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
96-
run: cargo publish --manifest-path rust/Cargo.toml -p tstring-json
96+
run: cargo publish --allow-dirty --manifest-path rust/Cargo.toml -p tstring-json
9797

9898
publish-toml:
9999
needs: publish-json
@@ -115,7 +115,7 @@ jobs:
115115
- name: Publish tstring-toml
116116
env:
117117
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
118-
run: cargo publish --manifest-path rust/Cargo.toml -p tstring-toml
118+
run: cargo publish --allow-dirty --manifest-path rust/Cargo.toml -p tstring-toml
119119

120120
publish-yaml:
121121
needs: publish-toml
@@ -137,4 +137,4 @@ jobs:
137137
- name: Publish tstring-yaml
138138
env:
139139
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
140-
run: cargo publish --manifest-path rust/Cargo.toml -p tstring-yaml
140+
run: cargo publish --allow-dirty --manifest-path rust/Cargo.toml -p tstring-yaml

0 commit comments

Comments
 (0)