Skip to content

Commit

Permalink
change 3.0.0-SNAPSHOT to 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mherman22 committed Aug 24, 2024
1 parent 8001422 commit 22d3c56
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ private Map<String, String> getO3VersionsOptionsMap(VersionsHelper versionsHelpe
Map<String, String> optionsMap = new LinkedHashMap<>();

{
Artifact artifact = new Artifact("distro-emr-configuration", "3.0.0-SNAPSHOT", "org.openmrs", "zip");
Artifact artifact = new Artifact("distro-emr-configuration", "3.0.0", "org.openmrs", "zip");
for (ArtifactVersion version : versionsHelper.getAllVersions(artifact, MAX_OPTIONS_SIZE)) {
optionsMap.put(String.format(optionTemplate, version.toString()), artifact.getGroupId() + ":" + artifact.getArtifactId() + ":" + version);
}
Expand All @@ -797,7 +797,7 @@ private Map<String, String> getO3VersionsOptionsMap(VersionsHelper versionsHelpe
}

{
Artifact artifact = new Artifact("referenceapplication-distro", "3.0.0-SNAPSHOT", "org.openmrs.distro", "zip");
Artifact artifact = new Artifact("referenceapplication-distro", "3.0.0", "org.openmrs.distro", "zip");
for (ArtifactVersion version : versionsHelper.getAllVersions(artifact, MAX_OPTIONS_SIZE)) {
if (!version.toString().endsWith("-SNAPSHOT") && optionsMap.size() < MAX_OPTIONS_SIZE) {
optionsMap.put(String.format(optionTemplate, version),
Expand Down

0 comments on commit 22d3c56

Please sign in to comment.