Skip to content

Commit 5c17627

Browse files
prmoore77claude
andcommitted
Fix launcher banner version fallback (2.2.0 → 2.4.0) and add version bump notes to CLAUDE.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1ce15a9 commit 5c17627

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CLAUDE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,18 @@ export async function POST(request: NextRequest) {
9797
- **Instrumentation Discovery**: Uses `GIZMOSQL_INSTRUMENTATION_ENABLED()`, `GIZMOSQL_INSTRUMENTATION_CATALOG()`, `GIZMOSQL_INSTRUMENTATION_SCHEMA()` SQL functions
9898
- **OAuth/SSO**: Server-side OAuth code exchange flow via GizmoSQL server
9999

100+
## Version Bumping
101+
102+
When releasing a new version, **all** of the following must be updated to match:
103+
- `package.json``version` field
104+
- `app/page.tsx` — version displayed in the header/banner (must match `package.json`)
105+
- `scripts/launcher.js` — fallback `VERSION` constant
106+
100107
## Pre-Commit Checklist
101108

102109
- [ ] `pnpm lint` passes
103110
- [ ] `pnpm build` succeeds
104111
- [ ] Update `CHANGELOG.md` for user-facing changes
105112
- [ ] Update version in `package.json` if releasing
113+
- [ ] Ensure banner version in `app/page.tsx` matches `package.json` version
114+
- [ ] Ensure `scripts/launcher.js` VERSION matches `package.json` version

scripts/launcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ process.env.NODE_ENV ??= 'production';
66
process.env.NEXT_TELEMETRY_DISABLED ??= '1';
77

88
// Read version from package.json
9-
let VERSION = '2.2.0';
9+
let VERSION = '2.4.0';
1010
try {
1111
const pkg = require('package.json');
1212
VERSION = pkg.version;

0 commit comments

Comments
 (0)