move-semver-tags-action

6.0.7 • Public • Published

move-semver-tags-action

npm version

Move your SemVer major and minor tags automatically

GitHub Actions do SemVer differently than NPM. NPM uses ^ and ~ to calculate latest major and minor versions, but GitHub Actions makes you create vX and vX.X tags and move them for every new release. This can get tedious, so this action automates this process for you.

For more information, see https://docs.github.com/en/free-pro-team@latest/actions/creating-actions/about-actions#using-tags-for-release-management and https://github.com/actions/toolkit/issues/214 for backstory.

As GitHub Action

- uses: kellyselden/move-semver-tags-action@v3
  with:
    copy-annotations: true # optional, default `false`

As NPM Package

await require('move-semver-tags-action')({
  cwd: process.cwd(), // optional, default `process.cwd()`
  copyAnnotations: true // optional, default `false`
});

As CLI

move-semver-tags-action \
  --copy-annotations=true \ # optional, default `false`

Package Sidebar

Install

npm i move-semver-tags-action

Weekly Downloads

0

Version

6.0.7

License

MIT

Unpacked Size

7.47 kB

Total Files

8

Last publish

Collaborators

  • kellyselden
  • gnclmorais
  • jennyjudova