Skip to content

Commit

Permalink
Post-release hook to update www.brow.sh version
Browse files Browse the repository at this point in the history
  • Loading branch information
tombh committed Jul 6, 2018
1 parent 1a6fa69 commit 8bd5f3d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions contrib/release_if_new_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,12 @@ BROWSH_ENV=RELEASE npm run build

cd $PROJECT_ROOT/interfacer/src
curl -sL http://git.io/goreleaser | bash

cd $HOME
git clone https://github.com/browsh-org/www.brow.sh.git
cd www.brow.sh
echo "latest_version: $manifest_version" > _data/browsh.yml
git add _data/browsh.yml
git commit -m "(Travis CI) Updated Browsh version to $manifest_version"
# `/dev/null` needed to prevent Github token appearing in logs
git push --quiet https://$GITHUB_TOKEN@github.com/browsh-org/www.brow.sh > /dev/null 2>&1

0 comments on commit 8bd5f3d

Please sign in to comment.