Skip to content

Commit

Permalink
Last migrations from master to main
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCockx committed Jun 19, 2024
1 parent 98c585a commit dee7632
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion codefresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ steps:
variableDefined: "${{TAG_REPO}} == false"
skipNextBuild: "${{SKIP_NEXT_BUILD}} == false"
commands:
- codefresh run REGnosys/rosetta-components/rosetta-components --branch master --detach
- codefresh run REGnosys/rosetta-components/rosetta-components --branch main --detach
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public Map<String, String> generateRosettaFiles(Collection<Resource> resources)
return results;
}

// This is required because the branch gets generated as the version, so you would get 'version "0.0.0.master"'
// This is required because the branch gets generated as the version, so you would get 'version "0.0.0.main-SNAPSHOT"'
public static String rewriteProjectVersion(String out) {
return out.replaceAll("version \".*?\"", "version \"\\${project.version}\"");
}
Expand Down

0 comments on commit dee7632

Please sign in to comment.