kellyselden / move-semver-tags-action

Move your SemVer major and minor tags automatically

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 actions/toolkit#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`

About

Move your SemVer major and minor tags automatically

License:MIT License


Languages

Language:JavaScript 100.0%