Always add changelog section even if it's not used later (#552)

This commit is contained in:
Félix Saparelli 2023-03-22 14:55:16 +13:00 committed by GitHub
parent 59044a5cba
commit ce9c5d6b22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -42,6 +42,7 @@ To trigger builds initially: either close and then immediately re-open this PR o
_Edit release notes into the section below:_
<!-- do not change or remove this heading -->
<% if (crate.name == "watchexec-cli") { %>
### Release notes
_Software development often involves running the same commands over and over. Boring! Watchexec is a simple, standalone tool that watches a path and runs a command whenever it detects modifications. Install it today with [`cargo-binstall watchexec-cli`](https://github.com/cargo-bins/cargo-binstall), from the binaries below, find it [in your favourite package manager](https://github.com/watchexec/watchexec/blob/main/doc/packages.md), or build it from source with `cargo install watchexec-cli`._
@ -52,5 +53,9 @@ _Software development often involves running the same commands over and over. Bo
#### Other changes:
-
<% } else { %>
### Changelog
-
<% } %>
<% } %>

View File

@ -43,7 +43,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ inputs.version }}
crate-path: crates/${{ inputs.crate }}
pr-release-notes: ${{ inputs.crate == 'cli' }}
pr-release-notes: true
pr-label: release
pr-template-file: .github/workflows/release-pr.ejs
env: