Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
[BZ 1084890] also need to update the VersionPrompt response to suppo…
Browse files Browse the repository at this point in the history
…rt Update versions.
  • Loading branch information
Simeon Pinder authored and spinder committed Oct 3, 2014
1 parent c7ca041 commit 7cc9aa3
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,12 @@ public static String getVersionPropertiesAsString() {
props.setProperty(PROP_BUILD_DATE, date.toString()); // just puts date in a more appropriate form
}

String updateVersion = getUpdateVersion();
if ((updateVersion != null) && (!updateVersion.trim().isEmpty())) {
String current = props.getProperty("Module-Version");
props.setProperty("Module-Version", current + " " + updateVersion); // just postPends Ex. Update 02
}

return StringUtil.justifyKeyValueStrings(props);
}

Expand Down

0 comments on commit 7cc9aa3

Please sign in to comment.