From aa6f80814bc6fdb43a0ed12719658225420ffb7d Mon Sep 17 00:00:00 2001 From: Jimmi Dyson Date: Fri, 23 Oct 2015 13:22:17 +0100 Subject: [PATCH] Fix up release process --- build/release.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/release.sh b/build/release.sh index c82e5cc46f..b5b7c7903a 100755 --- a/build/release.sh +++ b/build/release.sh @@ -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}