From e83355beb848573a3894a9ae0a5258d985ff4f6d Mon Sep 17 00:00:00 2001 From: Sylvain Viart Date: Sun, 5 Apr 2020 06:07:08 +0200 Subject: [PATCH] pre-release push on doctops master for travis build --- .travis.yml | 2 +- docs/release.md | 20 ++++++++++++++++---- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index ba57766..4cc012d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,4 +33,4 @@ after_script: # according to https://blog.travis-ci.com/after_script_behavior_changes/ # not called if before_install: fails. # this should be run failure too - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash -x ./travis/reverse_ssh_tunnel.sh ; fi +# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash -x ./travis/reverse_ssh_tunnel.sh ; fi diff --git a/docs/release.md b/docs/release.md index c370076..87dc44e 100644 --- a/docs/release.md +++ b/docs/release.md @@ -45,24 +45,36 @@ git commit -a git push origin master ``` -## 6. tag the new release +## 6. remove travis hack macos if any ``` -git tag -a $(cat ./VERSION) -m "docopts $(cat ./VERSION)" +sed -i -e '/travis.reverse_ssh_tunnel.sh/ s/^\([^#]\)/#\1/' .travis.yml ``` ## 7. push on docopts for a travis build ``` +git commit -a git push docopts master ``` -## 8. remove travis hack macos if any +## 8. tag the new release + +remove previous tag test if any ``` -sed -i -e '/travis.reverse_ssh_tunnel.sh/ s/^\([^#]\)/#\1/' .travis.yml +git push --delete origin $(cat ./VERSION) +git tag -d $(cat ./VERSION) ``` +create the tag + +``` +git tag -a $(cat ./VERSION) -m "docopts $(cat ./VERSION)" +git tag +``` + + ## 9. push the tag on docopts ```