mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-29 17:31:02 +02:00
Remove old release mechanism from Travis
This commit is contained in:
parent
70a6b3d419
commit
31b9ace0f6
@ -5,21 +5,5 @@ run_tests() {
|
|||||||
./tests.sh --skip-go-test
|
./tests.sh --skip-go-test
|
||||||
}
|
}
|
||||||
|
|
||||||
release() {
|
|
||||||
env VERSION=$TRAVIS_TAG ./release.sh
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
|
|
||||||
# Pull Requests.
|
|
||||||
echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
|
|
||||||
run_tests
|
run_tests
|
||||||
elif [ "$TRAVIS_TAG" == "" ]; then
|
|
||||||
# Pushed branches.
|
|
||||||
echo -e "Build Branch $TRAVIS_BRANCH"
|
|
||||||
run_tests
|
|
||||||
else
|
|
||||||
# $TRAVIS_PULL_REQUEST == "false" and $TRAVIS_TAG != "" -> Releases.
|
|
||||||
echo -e 'Build Branch for Release => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG']'
|
|
||||||
release
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user