Skip to content

Commit

Permalink
Merge pull request #19 from IntershopCommunicationsAG/feature/extend-…
Browse files Browse the repository at this point in the history
…version-handling-for-support-branches

feature: Add version support for "support" prefix branches
  • Loading branch information
m-raab authored Jun 4, 2024
2 parents 8deb990 + d56137e commit 82f9d4d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,9 @@ class GitVersionService @JvmOverloads constructor(
branch.startsWith("${releasePrefix}${separator}") -> {
rv = versionFromRelease(false)
}
branch.startsWith("${supportPrefix}${separator}") -> {
rv = versionFromSupport( false)
}
else -> {
val branches = getBranchListForRef()
rv = when {
Expand Down

0 comments on commit 82f9d4d

Please sign in to comment.