Skip to content

Commit 971b4bf

Browse files
Release packages (#1191)
> [!IMPORTANT] > Merging this pull request will create these releases # config 0.2.0 (2024-09-15) ## Breaking Changes - Changed type of `Package::assets` to `Assets` enum # knope 0.18.1 (2024-09-15) ## Features ### Support glob patterns for package assets You can now provide a glob pattern when defining package assets instead of specifying each file individually in a list. This is especially useful when your asset names are dynamic (containing a version, date, or hash, for example) or when different releases have different assets. Knope will _not_ error if the glob pattern doesn't match any files. You can't combine glob patterns with individual file names. ```toml [package] assets = "assets/*" ``` Co-authored-by: knope-bot-test[bot] <150975753+knope-bot-test[bot]@users.noreply.github.com>
1 parent e666475 commit 971b4bf

File tree

7 files changed

+29
-27
lines changed

7 files changed

+29
-27
lines changed

.changeset/changed_type_of_packageassets_to_assets_enum.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/support_glob_patterns_for_package_assets.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,24 @@ 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.18.1 (2024-09-15)
14+
15+
### Features
16+
17+
#### Support glob patterns for package assets
18+
19+
You can now provide a glob pattern when defining package assets instead of specifying each file individually in a list.
20+
This is especially useful when your asset names are dynamic (containing a version, date, or hash, for example) or
21+
when different releases have different assets.
22+
23+
Knope will _not_ error if the glob pattern doesn't match any files.
24+
You can't combine glob patterns with individual file names.
25+
26+
```toml
27+
[package]
28+
assets = "assets/*"
29+
```
30+
1331
## 0.18.0 (2024-08-18)
1432

1533
### Breaking Changes

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/knope-config/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.2.0 (2024-09-15)
2+
3+
### Breaking Changes
4+
5+
- Changed type of `Package::assets` to `Assets` enum
6+
17
## 0.1.0 (2024-08-18)
28

39
### Breaking Changes

crates/knope-config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "knope-config"
33
description = "A library for handling common configuration of Knope"
4-
version = "0.1.0"
4+
version = "0.2.0"
55
authors = ["Dylan Anthony <[email protected]>"]
66
edition = "2021"
77
license = "MIT"

crates/knope/Cargo.toml

Lines changed: 2 additions & 2 deletions
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.18.0"
4+
version = "0.18.1"
55
authors = ["Dylan Anthony <[email protected]>"]
66
edition = "2021"
77
license = "MIT"
@@ -31,7 +31,7 @@ inquire = { version = "0.7.5", default-features = false, features = [
3131
"crossterm",
3232
] }
3333
itertools = { workspace = true }
34-
knope-config = { path = "../knope-config", version = "0.1.0" }
34+
knope-config = { path = "../knope-config", version = "0.2.0" }
3535
knope-versioning = { workspace = true, features = ["miette"] }
3636
miette = { workspace = true, features = ["fancy"] }
3737
platform-dirs = "0.3.0"

0 commit comments

Comments
 (0)