Skip to content

Commit 9bdbf92

Browse files
author
Travis CI
committed
Merge commit 'f82beb402002c2a56c5b11c49098d2c6147fb0a0'
2 parents d72d5c0 + f82beb4 commit 9bdbf92

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
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
@@ -34,6 +33,7 @@ jobs:
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
@@ -45,7 +45,7 @@ jobs:
4545

4646
stages:
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

bin/deploy/new_release_auto_tagging.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ echo "Add tags to new release"
77
git config --global user.email "builds@travis-ci.com"
88
git config --global user.name "Travis CI"
99
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

0 commit comments

Comments
 (0)