File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ before_deploy:
48
48
- go get github.com/inconshreveable/mousetrap
49
49
- export GIT_TAG="latest"
50
50
- export TAG=false
51
+ - if [ ! -z "$TRAVIS_TAG" ] ; then
52
+ export GIT_TAG=$TRAVIS_TAG;
53
+ export TAG=true;
54
+ fi
51
55
- ./gradlew --console=plain releaseBinaries -PpackageVersion=$GIT_TAG
52
56
- " ./tools/travis/build_tag_releases.sh $build_file_name $GIT_TAG"
53
57
- export RELEASE_PKG_FILE="$(cd "$TRAVIS_BUILD_DIR/release" && ls ${zip_file_name}-*.tgz ${zip_file_name}-*.zip)"
@@ -60,12 +64,10 @@ before_deploy:
60
64
GIT_COMMITTER_DATE="$(git show --format=%aD | head -1)" git tag $GIT_TAG -a -m "Generated tag from Travis CI build $TRAVIS_BUILD_NUMBER";
61
65
git push -f -q https://[email protected] /apache/incubator-openwhisk-wskdeploy $GIT_TAG;
62
66
fi
63
- - if [ ! -z "$TRAVIS_TAG" ] ; then
64
- export GIT_TAG=$TRAVIS_TAG;
65
- export TAG=true;
66
- fi
67
- - echo "The event type is $TRAVIS_EVENT_TYPE."
68
- - echo "The GIT_TAG of this Travis build is $GIT_TAG."
67
+ - echo "TRAVIS_EVENT_TYPE is "
68
+ - echo $TRAVIS_EVENT_TYPE
69
+ - echo "GIT_TAG is "
70
+ - echo $GIT_TAG
69
71
70
72
deploy :
71
73
- provider : releases
You can’t perform that action at this time.
0 commit comments