Skip to content

Commit f0ae48b

Browse files
fix(ci): add --allow-dirty to cargo package (#676)
Cargo.lock is modified during cargo test --release in CI, causing cargo package to refuse packaging. --allow-dirty is the standard fix for CI environments where the working directory isn't pristine. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3c2588f commit f0ae48b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipelines/esrp-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ stages:
394394
395395
- script: |
396396
cargo package --list
397-
cargo package
397+
cargo package --allow-dirty
398398
echo "=== Packaged crate ==="
399399
ls -la target/package/*.crate
400400
# ESRP requires a zip containing the .crate file(s)

0 commit comments

Comments
 (0)