Skip to content

RadiantGuild/Github.Action.Semver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get semver from tag action

Gets semver string from a specified tag.

tests

Inputs

tag

Required The tag value.

allowNoTag

Default: false When set to true while run on branches and invalid semver tags, will return a default version of 0.0.0

Outputs

prefixed

The semver string with a 'v' prefix.

non-prefixed

The semver string with no 'v' prefix.

Example usage

name: Get version
id: semver
uses: LykkeBusiness/get-semver-from-tag-action@v1.0.2
with:
    tag: ${{ github.ref }}

About

GitHub Action to get semver string from specified tag

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%