mirror of
https://github.com/Alfresco/acs-community-packaging.git
synced 2025-09-10 14:12:09 +00:00
REPO-4735 Create companyReleaseDeployment.sh
This commit is contained in:
15
scripts/travis/companyReleaseDeployment.sh
Normal file
15
scripts/travis/companyReleaseDeployment.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
set -e
|
||||
|
||||
if [ ${COMM_RELEASE_VERSION} = "" ];
|
||||
then
|
||||
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
|
Reference in New Issue
Block a user