Managing your Chainlet release
Single Application Projects
In the project root, run:
make bump-version
➜ my-single-chainlet git:(master) ✗ make bump-version
Bump version...
Current version: 0.1.0
Latest commit hash: ef48fb2
Enter a version number [0.1.1]:
The script will automatically calculate the next version number.
You can also manually specify a version by pressing Enter and typing it in.
Follow the terminal prompts to update the
CHANGELOG.md
.
➜ my-single-chainlet git:(master) ✗ make bump-version
Bump version...
Current version: 0.1.0
Latest commit hash: ef48fb2
Enter a version number [0.1.1]:
Will set new version to be 0.1.1
Now you can make adjustments to CHANGELOG.md. Then press enter to continue.
chainlet version v1.8.27
✔ Chainlet version bumped to 0.1.1
➜ my-single-chainlet git:(master) ✗
9
Continue pressing Enter to complete the process.
✅ The single application project version is now updated.
Combined Application (Monorepo) Projects
In the project root, run:
npm run bump-version
Select the version update method (e.g., patch, minor, major).
Press Enter to confirm.
Follow the prompts to edit the
CHANGELOG.md
.
✔ Current version: 0.1.1 › next - 0.1.2
✔ Updated package.json to 0.1.2
✔ Updated chainlets/express-api/package.json to 0.1.2
✔ Updated chainlets/react-static/package.json to 0.1.2
✔ Updated chainlets/vue-static/package.json to 0.1.2
[info]: start to modify chainlets version to 0.1.2
Now you can make adjustments to CHANGELOG.md. Then press enter to continue.
[info]: all chainlets version modified.
$ git log --pretty=format:"- %s" "main"...HEAD
fatal: ambiguous argument 'main...HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
$ date +'%B %d, %Y'
十月 13, 2025
$ read
Continue pressing Enter until finished.
✅ The combined application version is now updated.
Last updated