Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.23 KB

DEVELOPING.md

File metadata and controls

37 lines (26 loc) · 1.23 KB

Developing action-ros-lint

Prerequisites

Install Node.js.

We are currently using Node.js v20.

Build and test

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.

Releasing

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.g 0.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

  1. Create and push new release tag e.g. 0.1.4
    • git tag 0.1.4
    • git push origin 0.1.4
  2. Update or create the corresponding minor version tag. DON'T PUSH THIS YET
    • git tag -f v0.1
  3. 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
  4. 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