diff options
| -rw-r--r-- | doRelease.go | 2 | ||||
| -rw-r--r-- | main.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doRelease.go b/doRelease.go index 62a3dc4..6a4b941 100644 --- a/doRelease.go +++ b/doRelease.go @@ -60,7 +60,7 @@ func doRelease() error { // check if the git tag already exists somehow testtag := me.release.version.String() - if check.LocalTagExists(testtag) { + if check.IfRefExists(testtag) { log.Info("TAG ALREADY EXISTS", testtag) return log.Errorf("%s TAG ALREADY EXISTS %s", check.FullPath, testtag) } else { @@ -128,8 +128,8 @@ func main() { if argv.AutoRun { go startHTTP() - log.Info("Attempt to auto-run here. sleep 5") - time.Sleep(5 * time.Second) + log.Info("Attempt to auto-run here. sleep 1") + time.Sleep(1 * time.Second) buttonDisable() doReleaseAll() |
