minor fixes to autobuild
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
eeba0d7c0d
commit
236541d379
|
@ -88,12 +88,12 @@ func build(tag string) *bool {
|
|||
shell.Run("git checkout v" + tag)
|
||||
|
||||
gitref := shell.Run("git rev-list -1 HEAD")
|
||||
tagref := shell.Run("cat .git/refs/tags/v" + tag) // what is the right way?
|
||||
tagref := shell.Run("git rev-list -1 v" + tag)
|
||||
|
||||
if (gitref != tagref) {
|
||||
log.Println("\tJESUS HOW TO DO THIS CORRECTLY?", gitref, "ne", tagref)
|
||||
// os.Exit(-1)
|
||||
// return nil
|
||||
log.Println("\tWHAT WENT WRONG?", gitref, "ne", tagref)
|
||||
b = false
|
||||
return &b
|
||||
}
|
||||
|
||||
// setup the files that will end up in the binary
|
||||
|
|
Loading…
Reference in New Issue