Do not push nightly OLM files during release in 7.15.x branch (#334)

* Change release script to exclude pushing of nightly olm files

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

* fixup! Change release script to exclude pushing of nightly olm files
pull/335/head
Mykhailo Kuznietsov 2020-07-09 17:21:11 +03:00 committed by GitHub
parent 0cff8b428d
commit 69d429534c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 7 deletions

View File

@ -10,9 +10,6 @@
# Contributors:
# Red Hat, Inc. - initial API and implementation
set -e
set -x
init() {
RELEASE="$1"
BRANCH=$(echo $RELEASE | sed 's/.$/x/')
@ -245,7 +242,6 @@ createPRToMasterBranch() {
run() {
checkoutToReleaseBranch
releaseOperatorCode
updateNightlyOlmFiles
if [[ $RELEASE_OLM_FILES == "true" ]]; then
releaseOlmFiles
fi

View File

@ -109,7 +109,7 @@ do
echo "####"
echo "#################"
else
git push "https://${GIT_USER}:${GIT_PASSWORD}@github.com/che-incubator/community-operators.git" "${branch}"
git push "git@github.com:che-incubator/community-operators.git" "${branch}"
fi
done
cd "${CURRENT_DIR}"

View File

@ -11,7 +11,6 @@
# Red Hat, Inc. - initial API and implementation
set -e
set -x
REGEX="^([0-9]+)\\.([0-9]+)\\.([0-9]+)(\\-[0-9a-z-]+(\\.[0-9a-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$"

View File

@ -11,7 +11,6 @@
# Red Hat, Inc. - initial API and implementation
set -e
set -x
CURRENT_DIR=$(pwd)
BASE_DIR=$(cd "$(dirname "$0")"; pwd)