mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
Fix release PR template (#336)
This commit is contained in:
parent
89869db239
commit
3387a63895
3 changed files with 5 additions and 4 deletions
4
.github/scripts/release-pr-template.ejs
vendored
4
.github/scripts/release-pr-template.ejs
vendored
|
@ -1,4 +1,4 @@
|
||||||
This is a release PR for version **<%= version.actual %>**<%
|
This is a release PR for **<%= crate.name %>** version **<%= version.actual %>**<%
|
||||||
if (version.actual != version.desired) {
|
if (version.actual != version.desired) {
|
||||||
%> (performing a <%= version.desired %> bump).<%
|
%> (performing a <%= version.desired %> bump).<%
|
||||||
} else {
|
} else {
|
||||||
|
@ -28,7 +28,7 @@ You will still need to manually publish the cargo crate:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ git pull
|
$ git pull
|
||||||
$ git switch --detach v{version}
|
$ git switch --detach <%= crate.name %>-<%= version.actual %>
|
||||||
$ cargo publish -p <%= crate.name %>
|
$ cargo publish -p <%= crate.name %>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
1
.github/workflows/release-pr.yml
vendored
1
.github/workflows/release-pr.yml
vendored
|
@ -36,5 +36,6 @@ jobs:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
version: ${{ inputs.version }}
|
version: ${{ inputs.version }}
|
||||||
crate-path: crates/${{ inputs.crate }}
|
crate-path: crates/${{ inputs.crate }}
|
||||||
|
pr-label: release
|
||||||
pr-release-notes: ${{ inputs.crate == 'bin' }}
|
pr-release-notes: ${{ inputs.crate == 'bin' }}
|
||||||
pr-template-file: .github/scripts/release-pr-template.ejs
|
pr-template-file: .github/scripts/release-pr-template.ejs
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
pre-release-commit-message = "release: v{{version}}"
|
pre-release-commit-message = "release: cargo-binstall v{{version}}"
|
||||||
tag-prefix = "cli-"
|
tag-prefix = ""
|
||||||
tag-message = "cargo-binstall {{version}}"
|
tag-message = "cargo-binstall {{version}}"
|
||||||
|
|
||||||
# We wait until the release CI is done before publishing,
|
# We wait until the release CI is done before publishing,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue