Skip to content

Commit 1b7bfa2

Browse files
committed
update(package.json): modify date format in build:push script
The date format in the `build:push` script within `package.json` has been updated to a more readable format, using full month name, day with suffix, year, and 12-hour time with AM/PM. This change enhances the clarity of build commit messages by making the timestamp more human-readable.
1 parent d19fee4 commit 1b7bfa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"start": "node ./out/cli.cjs",
6363
"dev": "tsx ./src/cli.ts",
6464
"build": "rimraf out && node esbuild.config.js",
65-
"build:push": "npm run build && git add . && git commit -m \"Build: $(date '+%Y-%m-%d %H:%M:%S')\" && git push",
65+
"build:push": "npm run build && git add . && git commit -m \"Build: $(date '+%B %d, %Y, %I:%M:%S %p')\" && git push",
6666
"deploy": "npm version patch && npm run build:push && git push --tags && npm publish --tag latest",
6767
"lint": "eslint src && tsc --noEmit",
6868
"lint:fix": "eslint src --ext ts --fix && prettier --write src",

0 commit comments

Comments
 (0)