Skip to content

Commit b18910d

Browse files
andimarekclaude
andcommitted
Fix undefined sanitizedBranchName in dev version string
Bad merge in 0c7b9c3 took the one-liner branchName definition from master (which does replaceAll inline) but kept the two-liner's sanitizedBranchName reference from the copilot branch. The variable branchName already includes sanitization via replaceAll('[/\\]', '-'). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b8423f1 commit b18910d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def getDevelopmentVersion() {
9090
gitRevParse.waitForProcessOutput(gitRevParseOutput, gitRevParseError)
9191
def branchName = gitRevParseOutput.toString().trim().replaceAll('[/\\\\]', '-')
9292

93-
return makeDevelopmentVersion(["0.0.0", sanitizedBranchName, "SNAPSHOT"])
93+
return makeDevelopmentVersion(["0.0.0", branchName, "SNAPSHOT"])
9494
}
9595

9696
def reactiveStreamsVersion = '1.0.3'

0 commit comments

Comments
 (0)