mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-16 09:08:37 +01:00
477d59d319
Co-authored-by: Félix Saparelli <felix@passcod.name> Co-authored-by: github-actions <github-actions@github.com>
61 lines
1.9 KiB
Text
61 lines
1.9 KiB
Text
<!-- <%- JSON.stringify({ "release-pr": { v2: { crates, version } } }) %> -->
|
|
|
|
This is a release PR for **<%= crate.name %>** version **<%= version.actual %>**<%
|
|
if (version.actual != version.desired) {
|
|
%> (performing a <%= version.desired %> bump).<%
|
|
} else {
|
|
%>.<%
|
|
}
|
|
%>
|
|
|
|
**Use squash merge.**
|
|
|
|
<% if (crate.name == "watchexec-cli") { %>
|
|
Upon merging, this will automatically create the tag `v<%= version.actual %>`, build the CLI, and create a GitHub release.
|
|
You will still need to manually publish the cargo crate:
|
|
|
|
```
|
|
$ git switch main
|
|
$ git pull
|
|
$ git switch --detach v<%= version.actual %>
|
|
$ cargo publish -p <%= crate.name %>
|
|
```
|
|
<% } else { %>
|
|
Remember to review the crate's changelog!
|
|
|
|
Upon merging, this will create the tag `<%= crate.name %>-v<%= version.actual %>`.
|
|
You will still need to manually publish the cargo crate:
|
|
|
|
```
|
|
$ git switch main
|
|
$ git pull
|
|
$ git switch --detach <%= crate.name %>-v<%= version.actual %>
|
|
$ cargo publish -p <%= crate.name %>
|
|
```
|
|
<% } %>
|
|
|
|
To trigger builds initially: either close and then immediately re-open this PR once, or push to the branch (perhaps with edits to the README.md or CHANGELOG.md!).
|
|
|
|
<% if (pr.releaseNotes) { %>
|
|
---
|
|
|
|
_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`._
|
|
|
|
#### In this release:
|
|
|
|
-
|
|
|
|
#### Other changes:
|
|
|
|
-
|
|
<% } else { %>
|
|
### Changelog
|
|
-
|
|
<% } %>
|
|
<% } %>
|