Skip to content

Commit

Permalink
Release packages (#1191)
Browse files Browse the repository at this point in the history
> [!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>
  • Loading branch information
knope-bot-test[bot] authored Sep 15, 2024
1 parent e666475 commit 971b4bf
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 27 deletions.
5 changes: 0 additions & 5 deletions .changeset/changed_type_of_packageassets_to_assets_enum.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/support_glob_patterns_for_package_assets.md

This file was deleted.

18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions crates/knope-config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/knope-config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions crates/knope/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 971b4bf

Please sign in to comment.