File tree Expand file tree Collapse file tree 3 files changed +29
-23
lines changed Expand file tree Collapse file tree 3 files changed +29
-23
lines changed Original file line number Diff line number Diff line change @@ -16,26 +16,19 @@ install:
1616script :
1717 - sudo bash run_tests.sh
1818
19- # notifications:
20- # email: false
21- #
22- # after_success:
23- # - sudo bash ./Scripts/merge_develop_to_master.sh
24- #
25- # before_deploy:
26- # - echo "Build Jarvis package"
27- # - tar -cvf jarvis_package.tar -T config/package_file_list.txt
28- # - echo "Add tags to new release"
29- # - git config --global user.email "[email protected] "30- # - git config --global user.name "Travis CI"
31- # - export GIT_TAG=$TRAVIS_BRANCH-0.1.$TRAVIS_BUILD_NUMBER
32- # - git tag $GIT_TAG -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER"
33- # - git push -q https://[email protected] /ggeop/Python-ai-assistant --tags34- #
35- # deploy:
36- # provider: releases
37- # skip_cleanup: true
38- # api_key: $GITHUB_TOKEN
39- # file: jarvis_package.tar
40- # on:
41- # branch: master
19+ before_deploy :
20+ - bash bin/deploy/new_release_auto_tagging.sh
21+
22+ deploy :
23+ provider : releases
24+ skip_cleanup : true
25+ api_key : $GITHUB_TOKEN
26+ file : jarvis_package.tar
27+ on :
28+ branch : master
29+
30+ after_deploy :
31+ - sudo bash bin/deploy/merge_develop_to_master.sh
32+
33+ notifications :
34+ email : false
File renamed without changes.
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # --------------------------------------------------
4+ # Add tag to new release (release based on master)
5+ # -------------------------------------------------
6+ echo " Build Jarvis package"
7+ tar -cvf jarvis_package.tar -T config/package_file_list.txt
8+ echo " Add tags to new release"
9+ git config --global user.email
" [email protected] " 10+ git config --global user.name " Travis CI"
11+ export GIT_TAG=$TRAVIS_BRANCH -$TRAVIS_BUILD_NUMBER
12+ git tag $GIT_TAG -a -m " Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER "
13+ 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