.travis: Drop custom release script
This commit is contained in:
parent
ceb7f3ceef
commit
940caa87bd
2 changed files with 1 additions and 33 deletions
|
|
@ -19,7 +19,5 @@ after_success:
|
|||
- curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh | bash -s
|
||||
env:
|
||||
global:
|
||||
- REPO="git@github.com:RedHatInsights/image-builder-frontend-build"
|
||||
- REPO_DIR="image-builder-frontend-build"
|
||||
- BRANCH=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}
|
||||
- DEPLOY_REPO="git@github.com:RedHatInsights/image-builder-frontend-build"
|
||||
- NODE_OPTIONS="--max-old-space-size=4096 --max_old_space_size=4096"
|
||||
|
|
|
|||
|
|
@ -1,30 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
set -x
|
||||
|
||||
if [ "${TRAVIS_BRANCH}" = "main" ]
|
||||
then
|
||||
for env in ci qa stage
|
||||
do
|
||||
echo "PUSHING ${env}-beta"
|
||||
rm -rf ./dist/.git
|
||||
.travis/release.sh "${env}-beta"
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
if [ "${TRAVIS_BRANCH}" = "main-stable" ]
|
||||
then
|
||||
for env in ci qa stage
|
||||
do
|
||||
echo "PUSHING ${env}-stable"
|
||||
rm -rf ./dist/.git
|
||||
.travis/release.sh "${env}-stable"
|
||||
done
|
||||
fi
|
||||
|
||||
if [[ "${TRAVIS_BRANCH}" = "prod-beta" || "${TRAVIS_BRANCH}" = "prod-stable" ]]; then
|
||||
echo "PUSHING ${TRAVIS_BRANCH}"
|
||||
rm -rf ./build/.git
|
||||
.travis/release.sh "${TRAVIS_BRANCH}"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue