mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2025-02-21 15:31:44 +00:00
Commit version info next time
This commit is contained in:
parent
a6d2a2ad2f
commit
0917b75cb9
@ -8,7 +8,7 @@
|
||||
"release:patch": "env SEMANTIC=patch npm run release",
|
||||
"version:current": "node -e 'console.log(require(\"./package.json\").version)'",
|
||||
"version:replace": "replace 'Version: \\d+\\.\\d+\\.\\d+' \"Version: $(npm run --silent version:current)\" main.sh src/*.sh",
|
||||
"release": "npm version ${SEMANTIC:-patch} -m \"Release %s\" && npm run version:replace && git commit main.sh -m 'Update version' && git push && git push --tags && npm publish",
|
||||
"release": "npm version ${SEMANTIC:-patch} -m \"Release %s\" && npm run version:replace && git commit main.sh src/*.sh -m 'Update version' && git push && git push --tags && npm publish",
|
||||
"save:fixtures": "cross-env SAVE_FIXTURES=true npm run test",
|
||||
"test": "test/acceptance.sh"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user