-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: auto update changelog in releases branch
- Loading branch information
Showing
2 changed files
with
41 additions
and
1 deletion.
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,32 @@ | ||
## hordelib Changelog | ||
|
||
{{#each releases}} | ||
{{#if href}} | ||
#{{#unless major}}#{{/unless}} [{{title}}]({{href}}) | ||
{{else}} | ||
## {{title}} | ||
{{/if}} | ||
|
||
{{#if tag}} | ||
{{niceDate}} | ||
{{/if}} | ||
|
||
{{#if summary}} | ||
{{summary}} | ||
{{/if}} | ||
|
||
{{#each merges}} | ||
- {{#if commit.breaking}}**Breaking change:** {{/if}}{{message}}{{#if href}} [`#{{id}}`]({{href}}){{/if}} ({{author}}) | ||
{{/each}} | ||
{{#each fixes}} | ||
- {{#if commit.breaking}}**Breaking change:** {{/if}}{{commit.subject}}{{#each fixes}}{{#if href}} [`#{{id}}`]({{href}}){{/if}}{{/each}} ({{author}}) | ||
{{/each}} | ||
{{#each commits}} | ||
- {{#if breaking}}**Breaking change:** {{/if}}{{subject}}{{#if href}} [`{{shorthash}}`]({{href}}){{/if}} ({{author}}) | ||
{{/each}} | ||
|
||
{{/each}} | ||
|
||
{{#unless options.hideCredit}} | ||
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). | ||
{{/unless}} |
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
# get us our version number. | ||
- name: "📣 Release on push" | ||
id: release | ||
uses: rymndhng/release-on-push-action@master | ||
uses: rymndhng/release-on-push-action@v0.28.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
|
@@ -57,6 +57,14 @@ jobs: | |
npm -g install auto-changelog | ||
auto-changelog | ||
# Try to add the changelog back to the releases branch | ||
- uses: EndBug/add-and-commit@v9 | ||
with: | ||
add: 'CHANGELOG.md' | ||
message: 'ci: update changelog' | ||
committer_name: GitHub Actions | ||
committer_email: [email protected] | ||
|
||
# Patches our requirements.txt and pyproject.toml | ||
# Build a changelog | ||
- name: "🔧 Prepare our build for release" | ||
|