Skip to content
tag

GitHub Action

Tagize

v1.0.1 Latest version

Tagize

tag

Tagize

Add/Adjust Git tag aliases based on a semantic versioning schema

Installation

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

              

- name: Tagize

uses: langroodi/[email protected]

Learn more about this action in langroodi/tagize

Choose a version

tagize

CI workflow

This is a GitHub Action to automatically add/adjust Git tag aliases based on a semantic versioning schema.

Docker Image Dependecies

  • Bash: > 4.0
  • Git: > 2.0
  • OpenSSH: > 7.0

Setup

  • Give the GitHub Actions the write permission to the repo using this tutorial;
  • Add/merge following YAML to your workflow:
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
  # Triggers on (pre-)release
  release:
    types: [published]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - uses: actions/checkout@v3

      # Execute 'tagize' action
      - uses: langroodi/tagize@v1