broadshield/🏷️ Generate Tag Name from Maven or Gradle

Generates a Git tag name for Pull Releases and Branches based on the application version in pom.xml or gradle.settings files

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit May 2, 2022
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: broadshield/github-action-generate-tag-name-from-maven-or-gradle@c32893402db7e4343afa251e47542db3488be44b # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github_tokenThe Github Token to authenticate withno
default_versionThe default tag to use if no tags existno""
filepathThe path to the pom.xml or build.gradle fileyes./pom.xml
pr_numberPR number to search forno
branchbranch to search forno
tag_prefixTag prefix used to search for the current version name to iterateno
releases_onlySearch GitHub releases instead of Github Tagsnotrue
sort_tagsSort the tags in version ordernotrue
bumpThe version part to bump, can be major, minor, patchnopatch
release_branchThe release branch to bumpyes
repositoryA named repository in the format Owner\repositoryNameno
prepend_vPrepend a v to tags. i.e. v1.0.0notrue
ignore_v_when_searchingSearches for tags that have a 'v' at the start and withoutnotrue
build_delimiterThe delimiter character to use to separate the version from the build numberno+
label_delimiterThe delimiter character to use to separate the version from the labelno-
namedescription
tag_nameThe generated tag with the bump
app_versionThe App version found
search_prefixThe search prefix used