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

Add changelog and use auto for creating releases #156

Merged
merged 6 commits into from
Feb 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
29 changes: 29 additions & 0 deletions .autorc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"plugins": [
"first-time-contributor",
[
"omit-release-notes",
{
"labels": "ignore-release"
}
]
],
"owner": "builditluc",
"repo": "wiki-tui",
"baseBranch": "main",

"noDefaultLabels": true,
"labels": [
{ "name": "breaking-change", "description": "This introduces a breaking change to the codebase. Increment the major version", "changelogTitle": "Breaking Changes 🛠", "releaseType": "major", "color": "#b60205" },
{ "name": "type: bug", "description": "This fixes a bug. Increment the minor version", "changelogTitle": "Bug Fixes 🐛", "releaseType": "patch", "color": "#b60205" },
{ "name": "type: chore", "description": "Updates to the build process or dependency updates", "changelogTitle": "CI Pipeline and Dependency Updates", "releaseType": "none", "color": "#fef2c0" },
{ "name": "type: documentation", "description": "Changes to the documentation (in code and external documentation)", "changelogTitle": "Documentation Changes", "releaseType": "none", "color": "#1d76db" },
{ "name": "type: feature", "description": "Implements a new feature", "changelogTitle": "Exciting New Features 🎉", "releaseType": "minor", "color": "#a2eeef" },
{ "name": "type: refactor", "description": "Changes to the style and structure of the codebase or project", "changelogTitle": "Structure and Style Changes", "releaseType": "none", "color": "#bfdadc" },
{ "name": "type: testing", "description": "Changes to the tests", "changelogTitle": "Tests", "releaseType": "none", "color": "#f9d0c4" },
{ "name": "ignore-release", "description": "This won't be included in the release notes", "releaseType": "skip", "color": "#5ceb33" },
{ "name": "other", "releaseType": "none", "default": true, "changelogTitle": "Other Changes" }
],

"changelog": { "message": "Update Changelog" }
}
16 changes: 1 addition & 15 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,20 +71,6 @@ jobs:
target/${{ matrix.target }}/release/wiki-tui-${{ matrix.artifact_prefix }}.tar.gz
target/${{ matrix.target }}/release/wiki-tui-${{ matrix.artifact_prefix }}.sha256
LICENSE.txt
generate_release_notes: true
generate_release_notes: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish:
name: Publish to crates.io
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: publish
args: --token ${{ secrets.CRATES_TOKEN }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ wiki_tui.log

.direnv/cache-pre321137.8e1eab9eae4
.direnv/drv
.direnv
.direnv
.env
Loading