File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2525 #  With this way setup script (setup.sh) is validated
2626 - sudo bash run_tests.sh 
2727 after_success :
28-  - bash bin/deploy/new_release_auto_tagging.sh 
2928 - sudo bash bin/deploy/merge_develop_to_master.sh 
3029
3130 - stage : deploy 
3433 env :
3534 - RELEASE_PACKAGE=jarvis_package.tar 
3635 before_deploy :
36+  - bash bin/deploy/new_release_auto_tagging.sh 
3737 - bash bin/deploy/create_release_package.sh 
3838 deploy :
3939 provider : releases 
4545
4646stages :
4747 - name : test 
48-  if : branch!=master AND branch!=^untagged.* 
48+  if : branch!=master AND branch!=develop AND branch!= ^untagged.* 
4949 - name : merge (develop --> master) 
5050 if : branch=develop AND type!=pull_request 
5151 - name : deploy 
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if [ "$TRAVIS_BRANCH" == "develop" ]; then
77 git fetch
88 git reset --hard
99 git checkout master ||  echo  " Git checkout master failed" 
10-  git merge " $TRAVIS_COMMIT " ||  echo  " Merge develop to master failed" 
10+  git merge --ff-only  " $TRAVIS_COMMIT " ||  echo  " Merge develop to master failed" 
1111 git push -q https://$GITHUB_TOKEN @github.com/ggeop/Python-ai-assistant master
1212fi 
1313
Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ echo "Add tags to new release"
77git config --global user.email " builds@travis-ci.com" 
88git config --global user.name " Travis CI" 
99export  GIT_TAG=Release_v.$TRAVIS_BUILD_NUMBER 
10- git tag $GIT_TAG  -a -m " Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER " 
10+ git tag $GIT_TAG  -a -m " Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER " 
11+ git push -q https://$GITHUB_TOKEN @github.com/ggeop/Python-ai-assistant --tags
                         You can’t perform that action at this time. 
           
                  
0 commit comments