Release logging to sentry

This commit is contained in:
Howl committed 2016-06-17 10:34:53 +02:00
1 parent 427f2ff890
commit b3e31734f5
4 files changed
+17 -1

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ func MetaUpdateGET(md common.MethodData) common.CodeMessager {
if !execCommand("go", "get", "-v", "-u", "-d") {
return
}
if !execCommand("go", "build", "-v", "-o", "api") {
if !execCommand("bash", "-c", "go build -v -ldflags \"-X main.Version=`git rev-parse HEAD`\" -o api") {
return
}