-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* master branch equates production * ci branch equates ci and qa related beta branches * contributing updates for branches, PRs, and releases
- Loading branch information
Showing
2 changed files
with
66 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash | ||
# | ||
# | ||
# main() | ||
# | ||
{ | ||
set -e | ||
set -x | ||
|
||
if [ "${TRAVIS_BRANCH}" = "ci" ]; then | ||
echo "PUSHING ci-beta" | ||
rm -rf ./build/.git | ||
.travis/release.sh "ci-beta" | ||
|
||
echo "PUSHING qa-beta" | ||
rm -rf ./build/.git | ||
.travis/release.sh "qa-beta" | ||
fi | ||
|
||
if [ "${TRAVIS_BRANCH}" = "master" ]; then | ||
echo "PUSHING prod-beta" | ||
rm -rf ./build/.git | ||
.travis/release.sh "prod-beta" | ||
|
||
echo "PUSHING prod-stable" | ||
rm -rf ./build/.git | ||
.travis/release.sh "prod-stable" | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters