Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: automate stable releases with release-plz #762

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/release-plz.yaml
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 }}
14 changes: 14 additions & 0 deletions release-plz.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[workspace]
dependencies_update = true # Whether to run `cargo update` in the release PR
pr_name = "release: zksync-foundry {{version}}" # template for the PR name
antonbaliasnikov marked this conversation as resolved.
Show resolved Hide resolved
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.
antonbaliasnikov marked this conversation as resolved.
Show resolved Hide resolved

# 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
Loading