Skip to content

Commit

Permalink
In CI, allow any branch and provide a fake previous tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Jul 3, 2023
1 parent e2c3c07 commit 3e39e5d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release-crates-io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ jobs:
set -ex
git config --global user.email "[email protected]"
git config --global user.name "Automated Release Test"
cargo release version --verbose --execute --no-confirm --workspace --exclude zebra-consensus --exclude zebra-utils --exclude zebrad beta
cargo release commit --verbose --execute --no-confirm
cargo release --no-publish --no-verify --no-tag --no-push --verbose --execute --no-confirm --dependent-version fix --package zebra-consensus --package zebra-utils beta
cargo release --no-publish --no-verify --no-tag --no-push --verbose --execute --no-confirm --dependent-version fix --package zebrad patch
cargo release replace --verbose --execute --no-confirm --package zebrad
cargo release commit --verbose --execute --no-confirm
cargo release publish --verbose --dry-run --workspace
cargo release version --verbose --execute --no-confirm --allow-branch '*' --workspace --exclude zebra-consensus --exclude zebra-utils --exclude zebrad beta
cargo release commit --verbose --execute --no-confirm --allow-branch '*'
cargo release --no-publish --no-verify --no-tag --no-push --verbose --execute --no-confirm --allow-branch '*' --prev-tag-name HEAD --dependent-version fix --package zebra-consensus --package zebra-utils beta
cargo release --no-publish --no-verify --no-tag --no-push --verbose --execute --no-confirm --allow-branch '*' --prev-tag-name HEAD --dependent-version fix --package zebrad patch
cargo release replace --verbose --execute --no-confirm --allow-branch '*' --package zebrad
cargo release commit --verbose --execute --no-confirm --allow-branch '*'
cargo release publish --verbose --dry-run --allow-branch '*' --workspace
# TODO: actually do the release here
Expand Down

0 comments on commit 3e39e5d

Please sign in to comment.