Skip to content

Automatically move your semantic GitHub Action tags on release.

License

Notifications You must be signed in to change notification settings

fischerscode/tagger

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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.

About

Automatically move your semantic GitHub Action tags on release.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages