This action gets the last semantic version and semantic version branch in a repository that matches a prefix provided by the user.
Required A desired string to match against all the branches in the repository. Default ''
.
The last semantic version found from branches that contain the regex-string input.
The branch in which the last semantic version was pulled from.
- name: Get Last Branch and Semantic Version Containing String
id: lrb
uses: jessicalostinspace/github-action-get-regex-branch@v1.0.2
with:
regex-string: 'release-v'