Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
tag

GitHub Action

Semantic Version (SemVer) Aliases

v1.0.0

Semantic Version (SemVer) Aliases

tag

Semantic Version (SemVer) Aliases

Generate release aliases for a Semantic Version

Installation

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

              

- name: Semantic Version (SemVer) Aliases

uses: prompt/[email protected]

Learn more about this action in prompt/actions-semver-aliases

Choose a version

SemVer Aliases

A GitHub Action for generating the major and minor aliases of a Semantic Version: generate v3 and v3.14 from v3.14.1.

pr-mpt/actions-semver-aliases@v1

Inputs

ID Description Default Examples
version Semantic Version number required v1.2.3 1.2.3
prefix String prefixed before each alias v v app-
major Generate major version alias true
minor Generate minor version alias true
patch Generate patch version alias false

Outputs

ID Description Examples
list Newline separated string of aliases v1\nv1.2
csv Comma-separated string of aliases v1,v1.2