mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 18:13:52 +01:00
078a62cb0d
Replaces the `npm run allbuild` script with the `npm version` command. It creates a new commit with a standardized message & includes the built app. Usage: `npm version [patch | minor | version | 10.0.0 | etc]` Will update the package.json & perform a bunch of steps in a row: - Runs `npm install` in: - The root directory - The ./electron/ directory - The ./tools/bump-version/ directory - Runs `npm run test` - Update the version string in: - ./electron/package.json (version) - ./src/Constants.ts (VersionString) - ./doc/source/conf.py (version & release) - Runs `npm run doc` (build the markdown documentation) - Runs `npm run build` (production build) - Runs `npm run electron` (electron build) - Runs `git add --all` - Runs `git push -u origin dev && git push --tags`
4 lines
114 B
Plaintext
4 lines
114 B
Plaintext
# Default "npm version" commit message
|
|
# See: https://stackoverflow.com/a/34606092
|
|
message=":bookmark: Build v%s"
|