Skip to content

Conversation

@bclozel
Copy link
Member

@bclozel bclozel commented Apr 27, 2020

Prior to this commit, the get_next_release function would only
consider the "RELEASE" suffix when generating the version string for the
next release.

This commit flips this default and now selects a suffix-less version by
default: "1.2.3-SNAPSHOT" -> "1.2.3". It is now possible to use a
specific release suffix with an additional argument:

next=$( get_next_milestone_release "1.0.0.BUILD-SNAPSHOT" "RELEASE" )
echo $next
1.0.0.RELEASE

@bclozel bclozel requested a review from mbhave April 27, 2020 13:33
Prior to this commit, the `get_next_release` function would only
consider the "RELEASE" suffix when generating the version string for the
next release.

This commit flips this default and now selects a suffix-less version by
default: "1.2.3-SNAPSHOT" -> "1.2.3". It is now possible to use a
specific release suffix with an additional argument:

```
next=$( get_next_milestone_release "1.0.0.BUILD-SNAPSHOT" "RELEASE" )
echo $next
1.0.0.RELEASE
```
@bclozel bclozel merged commit 2efd946 into spring-io:master May 6, 2020
@bclozel bclozel deleted the version_scheme branch May 6, 2020 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant