diff --git a/tests/journey.sh b/tests/journey.sh index 1421e47..66a7288 100755 --- a/tests/journey.sh +++ b/tests/journey.sh @@ -39,11 +39,11 @@ function init-git-repo() { title "changelog" (sandbox set-static-git-environment - export CARGO_HOME=$PWD + export CARGO_HOME="$(mktemp -t cargo-home.XXXXXX -d)" snapshot="$snapshot/triple-depth-workspace-changelog" cp -R $fixtures/tri-depth-workspace/* . - { echo $'target/\n.package-cache' > .gitignore && init-git-repo; } &>/dev/null + { echo $'target/' > .gitignore && init-git-repo; } &>/dev/null (when "interacting with 'a'" (with 'dry-run only' @@ -69,7 +69,7 @@ title "changelog" title "smart-release" (sandbox set-static-git-environment - export CARGO_HOME=$PWD + export CARGO_HOME="$(mktemp -t cargo-home.XXXXXX -d)" snapshot="$snapshot/triple-depth-workspace" cp -R $fixtures/tri-depth-workspace/* . diff --git a/tests/snapshots/triple-depth-workspace-changelog/crate-a-released/.gitignore b/tests/snapshots/triple-depth-workspace-changelog/crate-a-released/.gitignore index 87ae82f..2f7896d 100644 --- a/tests/snapshots/triple-depth-workspace-changelog/crate-a-released/.gitignore +++ b/tests/snapshots/triple-depth-workspace-changelog/crate-a-released/.gitignore @@ -1,2 +1 @@ target/ -.package-cache diff --git a/tests/snapshots/triple-depth-workspace-changelog/crate-a-released/a/CHANGELOG.md b/tests/snapshots/triple-depth-workspace-changelog/crate-a-released/a/CHANGELOG.md index 08438e9..aed7c11 100644 --- a/tests/snapshots/triple-depth-workspace-changelog/crate-a-released/a/CHANGELOG.md +++ b/tests/snapshots/triple-depth-workspace-changelog/crate-a-released/a/CHANGELOG.md @@ -22,6 +22,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
view details * **Uncategorized** - - Initial (8611afa) + - Initial (0519584)
diff --git a/tests/snapshots/triple-depth-workspace/a-b-dry-run-success-multi-crate-unconditional b/tests/snapshots/triple-depth-workspace/a-b-dry-run-success-multi-crate-unconditional index d3f07fb..3f87e5a 100644 --- a/tests/snapshots/triple-depth-workspace/a-b-dry-run-success-multi-crate-unconditional +++ b/tests/snapshots/triple-depth-workspace/a-b-dry-run-success-multi-crate-unconditional @@ -3,7 +3,6 @@ [INFO ] WOULD minor-bump provided package 'b' from 0.8.0 to 0.9.0 for publishing, for SAFETY due to breaking package 'a' [INFO ] WOULD adjust 1 manifest version due to breaking change in 'a': 'b' 0.8.0 ➡ 0.9.0 [INFO ] WOULD adjust 1 manifest version due to breaking change in 'b': 'c' 8.0.0 ➡ 9.0.0 -[WARN ] The working tree has changes which will prevent a release with --execute unless --allow-dirty is also specified. The latter isn't recommended. [INFO ] WOULD modify existing changelog for 'a'. [INFO ] WOULD modify existing changelog for 'b'. [TRACE] Pending 'a' manifest version update: "0.9.0" diff --git a/tests/snapshots/triple-depth-workspace/a-dry-run-success-multi-crate-unconditional b/tests/snapshots/triple-depth-workspace/a-dry-run-success-multi-crate-unconditional index 1b12b79..b547d49 100644 --- a/tests/snapshots/triple-depth-workspace/a-dry-run-success-multi-crate-unconditional +++ b/tests/snapshots/triple-depth-workspace/a-dry-run-success-multi-crate-unconditional @@ -2,7 +2,6 @@ [INFO ] WOULD minor-bump provided package 'a' from 0.8.0 to 0.9.0 for publishing [INFO ] WOULD adjust 1 manifest version due to breaking change in 'a': 'b' 0.8.0 ➡ 0.9.0 [INFO ] WOULD adjust 1 manifest version due to breaking change in 'b': 'c' 8.0.0 ➡ 9.0.0 -[WARN ] The working tree has changes which will prevent a release with --execute unless --allow-dirty is also specified. The latter isn't recommended. [INFO ] WOULD modify existing changelog for 'a'. [TRACE] Pending 'a' manifest version update: "0.9.0" [TRACE] Pending 'b' manifest version update: "0.9.0" diff --git a/tests/snapshots/triple-depth-workspace/crate-a-released-force-bump/.package-cache b/tests/snapshots/triple-depth-workspace/crate-a-released-force-bump/.package-cache deleted file mode 100644 index e69de29..0000000 diff --git a/tests/snapshots/triple-depth-workspace/crate-a-released-force-bump/a/CHANGELOG.md b/tests/snapshots/triple-depth-workspace/crate-a-released-force-bump/a/CHANGELOG.md index b301c83..d39790f 100644 --- a/tests/snapshots/triple-depth-workspace/crate-a-released-force-bump/a/CHANGELOG.md +++ b/tests/snapshots/triple-depth-workspace/crate-a-released-force-bump/a/CHANGELOG.md @@ -22,7 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
view details * **Uncategorized** - - Initial (b07fabe) + - Initial (ab21321)
## v0.8.0 (2021-09-09) diff --git a/tests/snapshots/triple-depth-workspace/crate-a-released/.package-cache b/tests/snapshots/triple-depth-workspace/crate-a-released/.package-cache deleted file mode 100644 index e69de29..0000000