You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by ad...@apache.org on 2022/02/21 15:50:36 UTC
[wicket] branch wicket-9.x updated: Allowing build-changelog.sh to use a specific full release version
This is an automated email from the ASF dual-hosted git repository.
adelbene pushed a commit to branch wicket-9.x
in repository https://gitbox.apache.org/repos/asf/wicket.git
The following commit(s) were added to refs/heads/wicket-9.x by this push:
new 2f2dcc4 Allowing build-changelog.sh to use a specific full release version
2f2dcc4 is described below
commit 2f2dcc42575837d61d8b5e72c8a10c63bd8f0ed8
Author: Andrea Del Bene <an...@host.it>
AuthorDate: Mon Feb 21 16:48:37 2022 +0100
Allowing build-changelog.sh to use a specific full release version
---
build-changelog.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build-changelog.sh b/build-changelog.sh
index cb3dfbf..22f487f 100755
--- a/build-changelog.sh
+++ b/build-changelog.sh
@@ -48,8 +48,8 @@ if [ ! -z "$1" ] ; then
major_version=$(expr $current_version : '\(.*\)\..*\..*\-.*')
minor_version=$(expr $current_version : '.*\.\(.*\)\..*\-.*')
bugfix_version=$(expr $current_version : '.*\..*\.\(.*\)-.*')
- milestone_version=$(expr $current_version : '.*\..*-\(.*\)')
- version="$major_version.$minor_version.0-$milestone_version"
+
+ version="$1"
previous_version="$major_version.$(expr $minor_version - 1).0"
else
current_version=$(getProjectVersionFromPom)