Skip to content

Commit 87ab0fb

Browse files
dbantyGitHub
and
GitHub
authored
chore: prepare release 0.16.0 (#957)
This PR was created by Knope. Merging it will create a new release ### Breaking Changes #### Don't delete changesets for prereleases Previously, using `PrepareRelease` to create a prerelease (for example, with `--prerelease-label`) would delete all changesets, just like a full release. This was a bug, but the fix is a breaking change if you were relying on that behavior. ### Features #### Add a `shell` variable for `Command` steps You can now add `shell=true` to a `Command` step to run the command in the current shell. This lets you opt in to the pre-0.15.0 behavior. ```toml [[workflows.steps]] type = "Command" command = "echo $AN_ENV_VAR" shell = true ``` Co-authored-by: GitHub <[email protected]>
1 parent 3db9fbd commit 87ab0fb

4 files changed

+25
-25
lines changed

.changeset/add_a_shell_variable_for_command_steps.md

-15
This file was deleted.

.changeset/dont_delete_changesets_for_prereleases.md

-9
This file was deleted.

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,30 @@ The results are changes to the current directory, calls to external commands, an
1010
Notably, anything written to standard output or standard error
1111
(what you see in the terminal) is _not_ considered part of the public API and may change between any versions.
1212

13+
## 0.16.0 (2024-03-20)
14+
15+
### Breaking Changes
16+
17+
#### Don't delete changesets for prereleases
18+
19+
Previously, using `PrepareRelease` to create a prerelease (for example, with `--prerelease-label`) would delete all
20+
changesets, just like a full release. This was a bug, but the fix is a breaking change if you were
21+
relying on that behavior.
22+
23+
### Features
24+
25+
#### Add a `shell` variable for `Command` steps
26+
27+
You can now add `shell=true` to a `Command` step to run the command in the current shell.
28+
This lets you opt in to the pre-0.15.0 behavior.
29+
30+
```toml
31+
[[workflows.steps]]
32+
type = "Command"
33+
command = "echo $AN_ENV_VAR"
34+
shell = true
35+
```
36+
1337
## 0.15.0 (2024-03-18)
1438

1539
### Breaking Changes

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "knope"
33
description = "A command line tool for automating common development tasks"
4-
version = "0.15.0"
4+
version = "0.16.0"
55
authors = ["Dylan Anthony <[email protected]>"]
66
edition = "2021"
77
license = "MIT"

0 commit comments

Comments
 (0)