Skip to content

Commit

Permalink
Add circle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
moznion committed Nov 21, 2016
1 parent 5001180 commit 350e604
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
deployment:
release:
tag: /[0-9]+\.[0-9]+\.[0-9]+/
commands:
- wget https://github.com/tcnksm/ghr/releases/download/v0.5.3/ghr_v0.5.3_linux_amd64.zip
- unzip ghr_v0.5.3_linux_amd64.zip
- make clean
- make VERSION=`git describe --tags | perl -anlE 'm/\A([^\-]+)-?/; print $1'`
- rm bin/.gitkeep
- ./ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace `git describe --tags | perl -anlE 'm/\A([^\-]+)-?/; print $1'` bin/

0 comments on commit 350e604

Please sign in to comment.