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
This commit is contained in:
Lex Christopherson
2026-01-14 14:06:31 -06:00
parent 1a55ac8539
commit b281148aa9

View File

@@ -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}.
`);