mirror of
https://github.com/glittercowboy/get-shit-done
synced 2026-04-25 17:25:23 +02:00
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:
@@ -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}.
|
||||
`);
|
||||
|
||||
Reference in New Issue
Block a user