-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: automate stable releases with release-plz
- Loading branch information
1 parent
15b4758
commit d96da8d
Showing
2 changed files
with
29 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Release-plz | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
|
||
release: | ||
uses: matter-labs/zksync-ci-common/.github/workflows/release-plz.yaml@v1 | ||
secrets: | ||
gh_token: ${{ secrets.RELEASE_TOKEN }} | ||
cargo_registry_token: ${{ secrets.CRATES_IO_TOKEN }} | ||
slack_webhook: ${{ secrets.SLACK_WEBHOOK_RELEASES }} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[workspace] | ||
dependencies_update = true # Wether to run `cargo update` in the release PR | ||
pr_name = "release: zksync-foundry {{version}}" # template for the PR name | ||
pr_labels = ["release", "automated"] # Set PR labels | ||
changelog_update = false # Disable individual changelog updates for all packages. | ||
git_tag_enable = false # Disable individual tags for all packages. | ||
git_release_enable = false # Disable individual releases for all packages. | ||
semver_check = true # Enable API breaking changes checks with cargo-semver-checks. | ||
|
||
# Use one main package for a common tag for all workspace crates | ||
[[package]] | ||
name = "forge" | ||
git_tag_enable = true # Enable one common tag for all crates | ||
git_tag_name = "v{{version}}" # Tag name |