The default release script doesn't push `main` to stage-beta, so reintroduce the custom_release script. This script is simplified however, and doesn't push to the ci/qa environments as those aren't used by image-builder anyway.
18 lines
366 B
Bash
Executable file
18 lines
366 B
Bash
Executable file
#!/bin/bash
|
|
set -ex
|
|
|
|
if [ "${TRAVIS_BRANCH}" = "main" ]; then
|
|
.travis/release.sh "stage-beta"
|
|
fi
|
|
|
|
if [ "${TRAVIS_BRANCH}" = "stage-stable" ]; then
|
|
.travis/release.sh "stage-stable"
|
|
fi
|
|
|
|
if [ "${TRAVIS_BRANCH}" = "prod-beta" ]; then
|
|
.travis/release.sh "prod-beta"
|
|
fi
|
|
|
|
if [ "${TRAVIS_BRANCH}" = "prod-stable" ]; then
|
|
.travis/release.sh "prod-stable"
|
|
fi
|