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 filespull/335/head
parent
0cff8b428d
commit
69d429534c
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}"
|
||||
|
|
|
|||
|
|
@ -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-]+)*)?$"
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
# Red Hat, Inc. - initial API and implementation
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
CURRENT_DIR=$(pwd)
|
||||
BASE_DIR=$(cd "$(dirname "$0")"; pwd)
|
||||
|
|
|
|||
Loading…
Reference in New Issue