-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "ref(workflow): move most scripts to their own executables (#8005
)" This reverts commit d85b010.
- Loading branch information
Showing
25 changed files
with
273 additions
and
446 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,9 +93,26 @@ jobs: | |
# | ||
# These steps should be kept up to date with the release checklist. | ||
# | ||
# TODO: move these steps into a script which is run in the release checklist and CI | ||
- name: Crate release dry run | ||
run: | | ||
./.github/workflows/scripts/release-crates-dry-run.sh | ||
set -ex | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Automated Release Test" | ||
# This script must be the same as: | ||
# https://github.com/ZcashFoundation/zebra/blob/main/.github/PULL_REQUEST_TEMPLATE/release-checklist.md#update-crate-versions | ||
# with an extra `--no-confirm` argument for non-interactive testing. | ||
cargo release version --verbose --execute --no-confirm --allow-branch '*' --workspace --exclude zebrad beta | ||
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebrad patch | ||
cargo release replace --verbose --execute --no-confirm --allow-branch '*' --package zebrad | ||
cargo release commit --verbose --execute --no-confirm --allow-branch '*' | ||
# Check the release will work using a dry run | ||
# | ||
# Workaround unpublished dependency version errors by skipping those crates: | ||
# https://github.com/crate-ci/cargo-release/issues/691 | ||
# | ||
# TODO: check all crates after fixing these errors | ||
cargo release publish --verbose --dry-run --allow-branch '*' --workspace --exclude zebra-consensus --exclude zebra-utils --exclude zebrad | ||
# TODO: actually do the release here | ||
#release-crates: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.