.travis: Drop custom release script

This commit is contained in:
Sanne Raymaekers 2022-04-14 13:34:41 +02:00
parent ceb7f3ceef
commit 940caa87bd
2 changed files with 1 additions and 33 deletions

View file

@ -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