Skip to content

Commit d4c7d9a

Browse files
authored
Update InstallSnapshotCliMojo.java to not replace . with _ (#18)
1 parent bc788ba commit d4c7d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/liquibase/sdk/maven/plugins/InstallSnapshotCliMojo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
6868

6969
if (repo.endsWith("/liquibase")) {
7070
//replace everything in the CLI except liquibase-commercial.jar
71-
String headBranchFilename = matchingLabel.replaceFirst(".*:", "").replaceAll("[^a-zA-Z0-9\\-_]", "_");
71+
String headBranchFilename = matchingLabel.replaceFirst(".*:", "").replaceAll("[^a-zA-Z0-9\\-_.]", "_");
7272

7373
File file = downloadArtifact(github, repo, matchingLabel, "liquibase-zip-" + headBranchFilename);
7474

0 commit comments

Comments
 (0)