Skip to content

Commit

Permalink
pre-release push on doctops master for travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain Viart committed Apr 5, 2020
1 parent 791ff6e commit e83355b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
20 changes: 16 additions & 4 deletions docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

```
Expand Down

0 comments on commit e83355b

Please sign in to comment.