APPS-241: - combine community and enterprise publish stages into one

This commit is contained in:
ehardon
2020-10-14 10:58:34 +03:00
parent f46976a687
commit da43ea90bb
2 changed files with 7 additions and 33 deletions

View File

@@ -17,6 +17,7 @@ release_type=$(echo $release_message | grep -Po '(internal\s)*(community|enterpr
if [[ $release_type =~ "community" ]]; then
echo "Setting Community Release variables..."
export RELEASE_TYPE="community"
if [[ $release_type =~ "internal" ]]; then
echo "Setting ARTIFACTS_UPLOAD_BUCKET and ARTIFACTS_UPLOAD_DIR for the Internal release"
export ARTIFACTS_UPLOAD_BUCKET="alfresco-artefacts-staging"
@@ -28,6 +29,7 @@ if [[ $release_type =~ "community" ]]; then
fi
elif [[ $release_type =~ "enterprise" ]]; then
echo "Setting Enterprise Release variables..."
export RELEASE_TYPE="enterprise"
if [[ $release_type =~ "internal" ]]; then
echo "Setting ARTIFACTS_UPLOAD_BUCKET and ARTIFACTS_UPLOAD_DIR for the Internal release"
export ARTIFACTS_UPLOAD_BUCKET="alfresco-artefacts-staging"