Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kellyselden/move-semver-tags-action
Move your SemVer major and minor tags automatically
https://github.com/kellyselden/move-semver-tags-action
semver
Last synced: 2 months ago
JSON representation
Move your SemVer major and minor tags automatically
- Host: GitHub
- URL: https://github.com/kellyselden/move-semver-tags-action
- Owner: kellyselden
- License: mit
- Created: 2020-09-20T14:12:05.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-23T16:33:56.000Z (4 months ago)
- Last Synced: 2024-11-01T20:51:37.104Z (2 months ago)
- Topics: semver
- Language: JavaScript
- Homepage:
- Size: 1.03 MB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# move-semver-tags-action
![](https://github.com/kellyselden/move-semver-tags-action/workflows/CI/badge.svg)
![](https://github.com/kellyselden/move-semver-tags-action/workflows/Publish/badge.svg)
[![npm version](https://badge.fury.io/js/move-semver-tags-action.svg)](https://badge.fury.io/js/move-semver-tags-action)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
```yml
- uses: kellyselden/move-semver-tags-action@v3
with:
copy-annotations: true # optional, default `false`
```### As NPM Package
```js
await require('move-semver-tags-action')({
cwd: process.cwd(), // optional, default `process.cwd()`
copyAnnotations: true // optional, default `false`
});
```### As CLI
```sh
move-semver-tags-action \
--copy-annotations=true \ # optional, default `false`
```