Merge pull request 'Release/2.0' (#20) from release/2.0 into develop
Locusworks Team/app-logger/pipeline/head This commit looks good

Reviewed-on: #20
This commit was merged in pull request #20.
This commit is contained in:
iparenteau committed 2026-09-02 15:52:25 -05:00
commit e73d4ae740
1 file changed
+3 -1
Vendored
+3 -1
View File
@@ -25,7 +25,9 @@ pipeline {
env.DEPLOY_BUILD = 'false'
def releaseMatch = branch =~ /^release\/(\d+\.\d+\.\d+)$/
// A release branch supplies major.minor; Jenkins supplies the patch
// number so release/2.0 build 1 becomes 2.0.1-RELEASE.
def releaseMatch = branch =~ /^release\/(\d+\.\d+)$/
if (releaseMatch.matches()) {
env.BUILD_VERSION = "${releaseMatch[0][1]}.${env.BUILD_NUMBER}-RELEASE"
env.DEPLOY_BUILD = 'true'