diff --git a/.changeset/changed_type_of_packageassets_to_assets_enum.md b/.changeset/changed_type_of_packageassets_to_assets_enum.md deleted file mode 100644 index 28bf5fbc..00000000 --- a/.changeset/changed_type_of_packageassets_to_assets_enum.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -config: major ---- - -# Changed type of `Package::assets` to `Assets` enum diff --git a/.changeset/support_glob_patterns_for_package_assets.md b/.changeset/support_glob_patterns_for_package_assets.md deleted file mode 100644 index 16170ca3..00000000 --- a/.changeset/support_glob_patterns_for_package_assets.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -knope: minor ---- - -# 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/*" -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 34d75b17..603b07c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,24 @@ The results are changes to the current directory, calls to external commands, an Notably, anything written to standard output or standard error (what you see in the terminal) is _not_ considered part of the public API and may change between any versions. +## 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/*" +``` + ## 0.18.0 (2024-08-18) ### Breaking Changes diff --git a/Cargo.lock b/Cargo.lock index cf8941ba..b27bdb40 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1069,7 +1069,7 @@ dependencies = [ [[package]] name = "knope" -version = "0.18.0" +version = "0.18.1" dependencies = [ "base64", "changesets", @@ -1104,7 +1104,7 @@ dependencies = [ [[package]] name = "knope-config" -version = "0.1.0" +version = "0.2.0" dependencies = [ "knope-versioning", "relative-path", diff --git a/crates/knope-config/CHANGELOG.md b/crates/knope-config/CHANGELOG.md index 0271bed1..3d1f95d0 100644 --- a/crates/knope-config/CHANGELOG.md +++ b/crates/knope-config/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.2.0 (2024-09-15) + +### Breaking Changes + +- Changed type of `Package::assets` to `Assets` enum + ## 0.1.0 (2024-08-18) ### Breaking Changes diff --git a/crates/knope-config/Cargo.toml b/crates/knope-config/Cargo.toml index 6aa09e0b..b1291477 100644 --- a/crates/knope-config/Cargo.toml +++ b/crates/knope-config/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "knope-config" description = "A library for handling common configuration of Knope" -version = "0.1.0" +version = "0.2.0" authors = ["Dylan Anthony "] edition = "2021" license = "MIT" diff --git a/crates/knope/Cargo.toml b/crates/knope/Cargo.toml index 133a233e..9db51815 100644 --- a/crates/knope/Cargo.toml +++ b/crates/knope/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "knope" description = "A command line tool for automating common development tasks" -version = "0.18.0" +version = "0.18.1" authors = ["Dylan Anthony "] edition = "2021" license = "MIT" @@ -31,7 +31,7 @@ inquire = { version = "0.7.5", default-features = false, features = [ "crossterm", ] } itertools = { workspace = true } -knope-config = { path = "../knope-config", version = "0.1.0" } +knope-config = { path = "../knope-config", version = "0.2.0" } knope-versioning = { workspace = true, features = ["miette"] } miette = { workspace = true, features = ["fancy"] } platform-dirs = "0.3.0"