diff --git a/.changeset/embed-cli-version.md b/.changeset/embed-cli-version.md deleted file mode 100644 index 136c6dc..0000000 --- a/.changeset/embed-cli-version.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"kit": patch ---- - -`shellcade-kit version` now reports the real release version instead of -`(devel)`/`(unknown)`. GoReleaser builds the binary with plain `go build`, so -`debug.ReadBuildInfo().Main.Version` was empty for the released artifact; -GoReleaser now stamps the tag into `main.version` via `-ldflags`, making the -"binary embeds the same kit version it ships under" claim true. In-tree -`go build`/`go run` is unchanged (still falls back to build info). No behavior -change for game authors. diff --git a/CHANGELOG.md b/CHANGELOG.md index f6f4770..9797246 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # kit +## 2.12.2 + +### Patch Changes + +- 8e78569: `shellcade-kit version` now reports the real release version instead of + `(devel)`/`(unknown)`. GoReleaser builds the binary with plain `go build`, so + `debug.ReadBuildInfo().Main.Version` was empty for the released artifact; + GoReleaser now stamps the tag into `main.version` via `-ldflags`, making the + "binary embeds the same kit version it ships under" claim true. In-tree + `go build`/`go run` is unchanged (still falls back to build info). No behavior + change for game authors. + ## 2.12.1 ### Patch Changes diff --git a/package.json b/package.json index 427cd55..7bde898 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kit", - "version": "2.12.1", + "version": "2.12.2", "private": true, "description": "Version management for the shellcade gamekit (Go module + CLI). Versions and changelogs are driven by changesets; binaries by GoReleaser.", "scripts": { diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 8e6506a..f5f7a6c 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -15,7 +15,7 @@ [package] name = "shellcade-kit" -version = "2.12.1" +version = "2.12.2" edition = "2021" # #[unsafe(no_mangle)] (emitted by shellcade_game! so expansions survive # edition-2024 game crates) stabilized in 1.82.