File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 25
25
# With this way setup script (setup.sh) is validated
26
26
- sudo bash run_tests.sh
27
27
after_success :
28
- - bash bin/deploy/new_release_auto_tagging.sh
29
28
- sudo bash bin/deploy/merge_develop_to_master.sh
30
29
31
30
- stage : deploy
34
33
env :
35
34
- RELEASE_PACKAGE=jarvis_package.tar
36
35
before_deploy :
36
+ - bash bin/deploy/new_release_auto_tagging.sh
37
37
- bash bin/deploy/create_release_package.sh
38
38
deploy :
39
39
provider : releases
45
45
46
46
stages :
47
47
- name : test
48
- if : branch!=master AND branch!=^untagged.*
48
+ if : branch!=master AND branch!=develop AND branch!= ^untagged.*
49
49
- name : merge (develop --> master)
50
50
if : branch=develop AND type!=pull_request
51
51
- name : deploy
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if [ "$TRAVIS_BRANCH" == "develop" ]; then
7
7
git fetch
8
8
git reset --hard
9
9
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"
11
11
git push -q https://$GITHUB_TOKEN @github.com/ggeop/Python-ai-assistant master
12
12
fi
13
13
Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ echo "Add tags to new release"
7
7
git config --global user.email
" [email protected] "
8
8
git config --global user.name " Travis CI"
9
9
export 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