Skip to content

Commit

Permalink
Cut off Prerelease Identifier of Version for BPE Process
Browse files Browse the repository at this point in the history
BPE validates the version number and rejects any version not conforming
to the X.X.X.X format.
  • Loading branch information
EmteZogaf committed Nov 23, 2023
1 parent a4fb425 commit 01176de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public FeasibilityProcessPluginDefinition() {
Properties props = new Properties();
props.load(input);

this.version = props.getProperty("build.version");
this.version = props.getProperty("build.version").replaceFirst("-.*$", "");
this.releaseDate = LocalDate.parse(props.getProperty("build.date"));
} catch (IOException e) {
throw new IllegalStateException("Could not load application properties.", e);
Expand Down

0 comments on commit 01176de

Please sign in to comment.