Skip to content

Commit

Permalink
Merge pull request #857 from IETS3/823-adapt-iets3opensource-to-use-s…
Browse files Browse the repository at this point in the history
…napshot-repo

fix customer branch matching for release
  • Loading branch information
arimer authored Mar 19, 2024
2 parents dfc4e50 + c9a0a3f commit ae769c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ if (project.hasProperty('iets3OpenSourceVersion')) {
currentBranch = GitBasedVersioning.gitBranch

def buildNumber = System.env.BUILD_NUMBER.toInteger()
if (currentBranch.startsWith("maintenance/") || currentBranch.startsWith("datev/")) {
if (currentBranch.startsWith("maintenance-") || currentBranch.startsWith("datev-loon-staging-") || currentBranch.startsWith("datev-steuer-staging-") ) {
version = "$major.$minor.$buildNumber.${GitBasedVersioning.gitShortCommitHash}"
} else {
version = GitBasedVersioning.getVersionWithCount(major, minor, buildNumber) + "-SNAPSHOT"
Expand Down

0 comments on commit ae769c0

Please sign in to comment.