brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [07/16] brooklyn-dist git commit: Make release script: include RPM artifact
Date Thu, 17 Mar 2016 12:55:05 GMT
Make release script: include RPM artifact

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/commit/0c9e1ccb
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/tree/0c9e1ccb
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/diff/0c9e1ccb

Branch: refs/heads/master
Commit: 0c9e1ccb7b1f62fd1fa7b31ee64c0582ca5a8ed3
Parents: f5d4b6a
Author: Richard Downer <richard@apache.org>
Authored: Wed Mar 16 16:08:42 2016 +0000
Committer: Richard Downer <richard@apache.org>
Committed: Wed Mar 16 16:09:37 2016 +0000

----------------------------------------------------------------------
 release/make-release-artifacts.sh | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/0c9e1ccb/release/make-release-artifacts.sh
----------------------------------------------------------------------
diff --git a/release/make-release-artifacts.sh b/release/make-release-artifacts.sh
index 7a9936d..c7ab1c1 100755
--- a/release/make-release-artifacts.sh
+++ b/release/make-release-artifacts.sh
@@ -22,6 +22,7 @@
 #   binary  (-bin)     - contains the brooklyn dist binary release
 #   source  (-src)     - contains all the source code files that are permitted to be released
 #   vagrant (-vagrant) - contains a Vagrantfile/scripts to start a Brooklyn getting started
environment
+#   RPM (.rpm)         - contains the RPM package
 
 set -e
 
@@ -223,6 +224,11 @@ mv ${bin_staging_dir}/brooklyn-vagrant-${current_version} ${bin_staging_dir}/${r
 ( cd ${bin_staging_dir} && zip -qr ${artifact_dir}/${artifact_name}-vagrant.zip ${release_name}-vagrant
)
 
 ###############################################################################
+# RPM artifacts
+
+cp ${src_staging_dir}/brooklyn-dist/packaging/target/rpm/apache-brooklyn/RPMS/noarch/apache-brooklyn-${current_version}-1.noarch.rpm
${artifact_dir}/${release_name}-1.noarch.rpm
+
+###############################################################################
 # Signatures and checksums
 
 # OSX doesn't have sha256sum, even if MacPorts md5sha1sum package is installed.


Mime
View raw message