Skip to content
tag

GitHub Action

Tagger - Move semantic tags!

v0.2.0 Latest version

Tagger - Move semantic tags!

tag

Tagger - Move semantic tags!

Automatically move your semantic tags on release

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Tagger - Move semantic tags!

uses: fischerscode/[email protected]

Learn more about this action in fischerscode/tagger

Choose a version

You can use Tagger either as a command line tool or an GitHub 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

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/[email protected]
        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.

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 <command> [arguments]

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

Available commands:
  move   Move the tags.

Run "tagger help <command>" for more information about a command.