-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👷 switch to release-plz and remove cargo-make
- Loading branch information
Showing
5 changed files
with
83 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: release-plz | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: write | ||
|
||
jobs: | ||
release-plz: | ||
name: Release-plz | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install Rust toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
- name: Run release-plz | ||
uses: MarcoIeni/release-plz-action@v0.5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |
This file was deleted.
Oops, something went wrong.
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,33 @@ | ||
# [Configuration | Release-plz](https://release-plz.ieni.dev/docs/config) | ||
# [workspace] | ||
# features_always_increment_minor = true | ||
|
||
[changelog] | ||
sort_commits = "newest" | ||
commit_preprocessors = [ | ||
# { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "" }, # remove issue numbers from commits | ||
# { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"}, # replace issue numbers | ||
] | ||
# regex for parsing and grouping commits | ||
# try to follow [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) | ||
commit_parsers = [ | ||
{ message = "^(🔒️|🔐)", group = "<!-- 0 -->Security" }, | ||
{ body = ".*security", group = "<!-- 0 -->Security" }, | ||
{ message = "^(fix|🐛|🚑️|👽️)", group = "<!-- 1 -->Fixed" }, | ||
{ message = "^(test|✅)", group = "<!-- 1 -->Fixed", skip = true }, | ||
{ message = "^.*: add", group = "<!-- 2 -->Added" }, | ||
{ message = "^.*: support", group = "<!-- 2 -->Added" }, | ||
{ message = "^(feat|✨|💥)", group = "<!-- 2 -->Added" }, | ||
{ message = "^.*: remove", group = "<!-- 3 -->Removed" }, | ||
{ message = "^.*: delete", group = "<!-- 3 -->Removed" }, | ||
{ message = "^(style|💄)", group = "<!-- 4 -->Changed" }, | ||
{ message = "^(doc|✏️|📝)", group = "<!-- 4 -->Changed" }, | ||
{ message = "^(perf|⚡️)", group = "<!-- 4 -->Changed" }, | ||
{ message = "^(chore|ci|💚|👷|🚧)", group = "<!-- 4 -->Changed", skip = true }, | ||
{ message = "^revert", group = "<!-- 4 -->Changed" }, | ||
{ message = "^(chore\\(deps\\)|⬇️|⬆️|➕|➖)", group = "<!-- 4 -->Changed" }, | ||
{ message = "^(refactor|🎨|🔥|♻️)", group = "<!-- 5 -->Refactor", skip = true }, | ||
{ message = "^(chore\\(release\\): prepare for|🔖|🚀)", skip = true }, | ||
{ message = "^chore\\(pr\\)", skip = true }, | ||
{ message = "^chore\\(pull\\)", skip = true }, | ||
] |
This file was deleted.
Oops, something went wrong.