From b281148aa91c28fa0e44a3137e75ceb0e5d1f787 Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Wed, 14 Jan 2026 14:06:31 -0600 Subject: [PATCH] feat(12-03): write VERSION file during installation - Creates VERSION file in get-shit-done folder - Contains package version (e.g., "1.4.24") - Enables /gsd:whats-new to detect installed version --- bin/install.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/install.js b/bin/install.js index a28f1fada..c38376ed7 100755 --- a/bin/install.js +++ b/bin/install.js @@ -171,6 +171,11 @@ function install(isGlobal) { console.log(` ${green}✓${reset} Installed CHANGELOG.md`); } + // Write VERSION file for whats-new command + const versionDest = path.join(claudeDir, 'get-shit-done', 'VERSION'); + fs.writeFileSync(versionDest, pkg.version); + console.log(` ${green}✓${reset} Wrote VERSION (${pkg.version})`); + console.log(` ${green}Done!${reset} Launch Claude Code and run ${cyan}/gsd:help${reset}. `);