Skip to content

gps/determine-latest-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Determine Latest Version GitHub Action

This action looks at git tags in a repository that begin with v, and are of format x.y.z, where x, y, and z are integers that represent the major, minor, and patch versions respectively. It then sets an output with the latest x.y.z version.

Inputs

gh_token

The GitHub token used to authenticate with GitHub.

Required

tag_prefix

Prefix to look for in version tags.

Required

Default Value

If unspecified, assumed to be v.

Outputs

latest_build_version

Latest build version found.

Example Usage

- name: Determine latest version
  uses: gps/determine_latest_version@master
  id: latest_version
  with:
    GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    TAG_PREFIX: v

About

GitHub Action that parses git tags that start with v and determines the latest version

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors