Show the app version at the top of the page (Ver YYMMDDX)
Adds src/version.js, bump-version.js and a pre-commit hook that bumps the version in commits that change the app. Closes #15 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
3
.githooks/pre-commit
Executable file
3
.githooks/pre-commit
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
# Bump the app version (src/version.js) when a commit changes the app.
|
||||
exec node "$(git rev-parse --show-toplevel)/bump-version.js" --staged
|
||||
Reference in New Issue
Block a user