Skip to content

Commit

Permalink
error in flag
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickalin committed Jul 28, 2017
1 parent 19f3dcd commit a9f01c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build/gen-ldflags.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func releaseTag(version string) string {
if err != nil {
panic(err)
}
relPrefix := string(dat)
relPrefix := strings.Replace(strings.Replace(string(dat), " ", "", -1), "\n", "", -1)
/*if prefix := os.Getenv("BLOOMSKY_RELEASE"); prefix != "" {
relPrefix = prefix
}*/
Expand Down
2 changes: 2 additions & 0 deletions scripts/travis/compile.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash
LDFLAGS="$(go run scripts/build/gen-ldflags.go)"
echo "LDFLAGS"
echo $LDFLAGS

go generate

Expand Down

0 comments on commit a9f01c6

Please sign in to comment.