Skip to content

Commit

Permalink
Update InstallSnapshotCliMojo.java to not replace . with _ (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
sayaliM0412 authored Oct 27, 2023
1 parent bc788ba commit d4c7d9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {

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

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

Expand Down

0 comments on commit d4c7d9a

Please sign in to comment.