Install Node.js.
We are currently using Node.js v20.
npm install
npm run build
Make sure to run this every time you update a Pull Request, it is necessary to check in the generated dist/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