refactor: switch S4 to use Git Tags as SSOT, remove VERSION file

This commit is contained in:
s41r4j
2026-01-29 00:01:19 +05:30
parent c6fdbac8ce
commit af80f34310
3 changed files with 171 additions and 61 deletions
+3
View File
@@ -788,6 +788,9 @@ program.command('version').alias('v')
.option('-s, --stage <stage>', 'Set prerelease stage (dev, alpha, beta, rc, stable)')
.option('-n, --dry-run', 'Show next version without applying')
.option('-i, --info', 'Show info about current version')
.option('--list', 'List S4 tags (hides dev tags by default)')
.option('--prune', 'Prune old dev tags (keeps last 10)')
.option('--all', 'Show all tags (including dev) when listing')
.action(async (type, options) => {
await ensureRepo();
if (!versionCmd) initializeComponents();