You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ri...@apache.org on 2018/09/11 23:00:55 UTC
[4/6] brooklyn-dist git commit: Release build with maven needs
scmBranch and buildNumber constants
Release build with maven needs scmBranch and buildNumber constants
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/commit/0bdb6af3
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/tree/0bdb6af3
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/diff/0bdb6af3
Branch: refs/heads/1.0.0-M1
Commit: 0bdb6af302a4a8065f10818290cc9abfb3d3ccd5
Parents: 0f7dbef
Author: Richard Downer <ri...@apache.org>
Authored: Tue Sep 11 22:57:46 2018 +0000
Committer: Richard Downer <ri...@apache.org>
Committed: Tue Sep 11 22:57:46 2018 +0000
----------------------------------------------------------------------
release/make-release-artifacts.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/0bdb6af3/release/make-release-artifacts.sh
----------------------------------------------------------------------
diff --git a/release/make-release-artifacts.sh b/release/make-release-artifacts.sh
index 753f37c..9a86225 100755
--- a/release/make-release-artifacts.sh
+++ b/release/make-release-artifacts.sh
@@ -199,9 +199,9 @@ mkdir -p ${bin_staging_dir}
# Perform the build
if [ -z "${dry_run}" ]; then
- ( cd ${src_staging_dir} && mvn deploy -Papache-release -DskipTests )
+ ( cd ${src_staging_dir} && mvn deploy -Papache-release -DskipTests -DscmBranch="${current_version}" -DbuildNumber=release )
else
- ( cd ${src_staging_dir} && mvn install -Papache-release -DskipTests )
+ ( cd ${src_staging_dir} && mvn install -Papache-release -DskipTests -DscmBranch="${current_version}" -DbuildNumber=release )
fi
# Re-pack the archive with the correct names