Skip to content

Commit

Permalink
Fix up release process
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson committed Oct 23, 2015
1 parent 77a118c commit aa6f808
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/release.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/bash

version=$( cat version/VERSION )
branch=$( git rev-parse --abbrev-ref HEAD 2> /dev/null || echo 'unknown' )

rm -rf release && mkdir release
cp cadvisor release/cadvisor
go get -u github.com/progrium/gh-release
gh-release create google/cadvisor ${version}
gh-release create google/cadvisor ${version} ${branch} ${version}

0 comments on commit aa6f808

Please sign in to comment.