An open API service indexing awesome lists of open source software.

https://github.com/fischerscode/tagger

Automatically move your semantic GitHub Action tags on release.
https://github.com/fischerscode/tagger

Last synced: about 1 year ago
JSON representation

Automatically move your semantic GitHub Action tags on release.

Awesome Lists containing this project

README

          

[![](https://img.shields.io/github/v/release/fischerscode/tagger)](https://github.com/fischerscode/tagger/releases/latest)
[![](https://img.shields.io/github/license/fischerscode/tagger)](https://github.com/fischerscode/tagger/blob/master/LICENSE)

You can use Tagger either as a [command line tool](#tagger-as-a-command-line-tool) or an [GitHub Action](#tagger-v02-action)

# Tagger V0.2 Action
This action automatically moves semantic tags. When providing the tag '1.2.3', '1' and '1.2' will be moved to the position of '1.2.3'.

This action is meant to be run when ever a release has been created.

## Usage
```yaml
name: move tags

on:
release:
types:
- "created"

jobs:
tags:
runs-on: ubuntu-latest
steps:
# You have to check out your repo first.
- uses: actions/checkout@v2
- uses: fischerscode/tagger@v0.2
with:
# The prefix of the semantic tags.
# Default: ''
prefix: v

# The new tag. Other tags will be moved to this position.
# If present, the leading 'refs/tags/' will be removed.
# ${{ github.ref }}
tag:
```

# Tagger as a command line tool

Prebuilt executables can be found [here](https://github.com/fischerscode/tagger/releases/latest).

## Usage:
```
Automatically move semantic tags. When providing the tag '1.2.3', '1' and '1.2' will be moved to the position of '1.2.3'.

Usage: tagger [arguments]

Global options:
-h, --help Print this usage information.

Available commands:
move Move the tags.

Run "tagger help " for more information about a command.
```