Install Node.js.
We are currently using Node.js v16.
npm install
This will setup git hooks to run linters, generate build artifacts, and run tests when committing (pre-commit).
npm run prepare
# autoformat sources to meet enforced linter style
npm run fixup
# generate build artifacts (run automatically when committing if git hooks are installed)
npm run build
Make sure to run this every time you update a Pull Request, it is necessary to check in the generated index.js
from the build.
NOTE: This action is not yet determined stable enough to call 1.0, therefore the following information applies to minor releases.
This repository makes two types of tags for releases:
- static patch-level tags per release
0.MINOR.PATCH
: e.g0.1.4
- dynamic API-level tags that move with patch releases so that users can get bugfixes without changing anything
v0.MINOR
: e.g.v0.1
Release process
- Create and push new release tag e.g.
0.1.4
git tag 0.1.4
git push origin 0.1.4
- Update or create the corresponding minor version tag. DON'T PUSH THIS YET
git tag -f v0.1
- Create a new release and publish it to the marketplace via https://github.com/ros-tooling/setup-ros/releases/new using the patch-level tag that you created
- Push the minor version tag now that the release is officially out. Users will get the new version automatically
git push -f origin v0.1
- For a new minor release, update version in examples given in
README.md
- Search for
ros-tooling/[email protected]
- Search for