Skip to content

Commit 3f3d4cb

Browse files
authored
Release v0.2.0 (#3)
1 parent ae1ea7e commit 3f3d4cb

3 files changed

Lines changed: 16 additions & 6 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66

77
## [Unreleased]
88

9+
## [0.2.0] - 2026-11-17
10+
911
### Added
1012

1113
- Import repositories containing Git submodules with their pins and original
1214
`.gitmodules` file. Submodules remain uninitialized.
1315
- Show usage and available flags with `layerctl --help` and `--help` on subcommands.
1416

17+
### Changed
18+
19+
- Accept command flags before or after positional arguments.
20+
1521
## [0.1.1] - 2026-11-17
1622

1723
### Fixed
@@ -33,6 +39,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
3339

3440
- Require manifest-based layers; the original `upstream.json` format and its migration commands are not supported.
3541

36-
[Unreleased]: https://github.com/NonLogicalDev/util.layerctl/compare/v0.1.1...HEAD
42+
[Unreleased]: https://github.com/NonLogicalDev/util.layerctl/compare/v0.2.0...HEAD
43+
[0.2.0]: https://github.com/NonLogicalDev/util.layerctl/compare/v0.1.1...v0.2.0
3744
[0.1.1]: https://github.com/NonLogicalDev/util.layerctl/compare/v0.1.0...v0.1.1
3845
[0.1.0]: https://github.com/NonLogicalDev/util.layerctl/releases/tag/v0.1.0

‎README.md‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Download a prebuilt archive and checksums from [GitHub Releases](https://github.com/NonLogicalDev/util.layerctl/releases), or install the tagged version with Go 1.26 or newer:
88

99
```sh
10-
go install github.com/NonLogicalDev/util.layerctl/cmd/layerctl@v0.1.1
10+
go install github.com/NonLogicalDev/util.layerctl/cmd/layerctl@v0.2.0
1111
```
1212

1313
Git is required at runtime.
@@ -28,16 +28,19 @@ Run the installed `layerctl` from the root or a subdirectory of the repository c
2828
With Nix flakes enabled, run the published release without cloning this repository:
2929

3030
```sh
31-
nix run github:NonLogicalDev/util.layerctl/v0.1.1 -- --version
31+
nix run github:NonLogicalDev/util.layerctl/v0.2.0 -- --version
3232
```
3333

3434
Run layerctl commands from the Git repository containing your layer definitions. For example:
3535

3636
```sh
37-
nix run github:NonLogicalDev/util.layerctl/v0.1.1 -- graph --format mermaid
37+
nix run github:NonLogicalDev/util.layerctl/v0.2.0 -- graph --format mermaid
3838
```
3939

40-
The `v0.1.1` ref pins the release; omit it to run the default branch. From a layerctl checkout, use `nix run . -- --version` or `nix build` to build the package locally.
40+
The `v0.2.0` ref pins the release.
41+
Omit it to run the default branch.
42+
From a layerctl checkout, use `nix run . -- --version` or `nix build`
43+
to build the package locally.
4144

4245
The flake exposes `packages.<system>.layerctl` and a default package for Linux and macOS on x86-64 and ARM64. It pins nixpkgs 26.05 because newer nixpkgs has dropped x86-64 macOS support. The package expression in `nix/package.nix` uses `buildGoModule` and accepts a `source` override, so it can be adapted for nixpkgs with a fixed upstream release and source hash.
4346

‎nix/package.nix‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
buildGoModule (finalAttrs: {
1313
pname = "layerctl";
14-
version = "0.1.1";
14+
version = "0.2.0";
1515
src = source;
1616
vendorHash = "sha256-OK7q/CQpa4gNWIPWHZPyew2Ym8NPkXqSDSzE92gYrKk=";
1717
ldflags = [ "-s" "-w" "-X main.version=${finalAttrs.version}" "-X main.commit=${revision}" ];

0 commit comments

Comments
 (0)