Skip to content
Permalink
Browse files
add apache-brooklyn-VER-vagrant release artifact
  • Loading branch information
johnmccabe committed Jan 21, 2016
1 parent 9fdca59 commit 2ee54b0b1c64da44fde987c5a9ebb2883555c87c
Showing 1 changed file with 14 additions and 0 deletions.
@@ -21,6 +21,7 @@
# Creates the following releases with archives (.tar.gz/.zip), signatures and checksums:
# 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

set -e

@@ -221,6 +222,19 @@ mv ${bin_staging_dir}/brooklyn-dist-${current_version} ${bin_staging_dir}/${rele
( cd ${bin_staging_dir} && tar czf ${artifact_dir}/${artifact_name}-bin.tar.gz ${release_name}-bin )
( cd ${bin_staging_dir} && zip -qr ${artifact_dir}/${artifact_name}-bin.zip ${release_name}-bin )
###############################################################################
# Vagrant release
set +x
echo "Proceeding to rename and repackage vagrant environment release"
set -x
# Re-pack the archive with the correct names
tar xzf ${src_staging_dir}/brooklyn-dist/vagrant/target/brooklyn-vagrant-${current_version}-dist.tar.gz -C ${bin_staging_dir}
mv ${bin_staging_dir}/brooklyn-vagrant-${current_version} ${bin_staging_dir}/${release_name}-vagrant
( cd ${bin_staging_dir} && tar czf ${artifact_dir}/${artifact_name}-vagrant.tar.gz ${release_name}-vagrant )
( cd ${bin_staging_dir} && zip -qr ${artifact_dir}/${artifact_name}-vagrant.zip ${release_name}-vagrant )
###############################################################################
# Signatures and checksums

0 comments on commit 2ee54b0

Please sign in to comment.