Skip to content

Commit

Permalink
Merge eb1b46e into dbc11fc
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziocucci committed May 8, 2020
2 parents dbc11fc + eb1b46e commit b1fc4d3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
11 changes: 2 additions & 9 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
- Update version at:
- `testslide/version`
- Commit & push the tag:
- `git checkout master`
- `git add testslide/version`
- `git commit -m "v$VERSION"`
- `git tag $VERSION`
- `git push`
- `git push master --tags`
- Create a new release tag by running:
- `./release.sh $new_version`
- https://travis-ci.com/facebookincubator/TestSlide/
- Check if master build is OK.
- https://readthedocs.org/projects/testslide/
Expand Down
17 changes: 17 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
set -euxo pipefail

USAGE="No release version specified. Please try again like this: $0 <release_version>"

release_version=${1?$USAGE}

git checkout master
git pull

echo $release_version > testslide/version
git add testslide/version
git commit -m "v$release_version"
git push

git tag $release_version
git push origin $release_version

0 comments on commit b1fc4d3

Please sign in to comment.