Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 1.59 KB

README.md

File metadata and controls

56 lines (41 loc) · 1.59 KB

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.