Files
acs-community-packaging/scripts/travis/copy_to_release_bucket.sh
Alan Davis 231c1718ac Bring master up to the same state as develop and [release] 6.2.1-A8
There were minor changes required in addition to the following cherry picks. Most notably changes from 0b0ae21a37 on the 21/04/2020 and the addition of the scripts/travis directory.

[maven-release-plugin][skip ci]prepare release acs-community-packaging-6.2.1-A7

(cherry picked from commit 9a6769cf85)
[maven-release-plugin][skip ci]prepare for next development iteration

(cherry picked from commit 8ccf987875)
Pick up Share 6.2.1 and get ready for 6.2.1-A8

(cherry picked from commit b6ab0471ba)
2020-05-13 07:39:33 +01:00

17 lines
772 B
Bash
Executable File

#!/usr/bin/env bash
set -ev
if [ -z ${COMM_RELEASE_VERSION} ] || [ -z ${RELEASE_VERSION} ];
then
echo "Please provide a COMM_RELEASE_VERSION and RELEASE_VERSION in the format <acs-version>-<additional-info> (6.3.0-EA or 6.3.0-SNAPSHOT)"
exit -1
fi
build_number=$1
branch_name=$2
build_stage=release
SOURCE=s3://alfresco-artefacts-staging/alfresco-content-services-community/$build_stage/$branch_name/$build_number
DESTINATION=s3://eu.dl.alfresco.com/release/community/$COMM_RELEASE_VERSION-build-$build_number
aws s3 cp --acl private $SOURCE/alfresco.war $DESTINATION/alfresco.war
aws s3 cp --acl private $SOURCE/alfresco-content-services-community-distribution-$RELEASE_VERSION.zip $DESTINATION/alfresco-content-services-community-distribution-$RELEASE_VERSION.zip