summaryrefslogtreecommitdiff
path: root/prepareRelease.go
diff options
context:
space:
mode:
Diffstat (limited to 'prepareRelease.go')
-rw-r--r--prepareRelease.go23
1 files changed, 13 insertions, 10 deletions
diff --git a/prepareRelease.go b/prepareRelease.go
index 602317f..f748485 100644
--- a/prepareRelease.go
+++ b/prepareRelease.go
@@ -135,6 +135,19 @@ func rePrepareRelease() {
continue
}
+ master := check.GetMasterVersion()
+ lastTag := check.GetLastTag()
+
+ if argv.Quick != nil {
+ // if argv has 'quick' don't do anything
+ // that doesn't actually have a patch
+ if master == lastTag {
+ continue
+ }
+ }
+ log.Info("LAST TAG", check.FullPath, master, lastTag)
+
+ // this is detailed. It makes sure the go.* files are absolutely perfect
if !me.forge.Config.IsPrivate(check.GetGoPath()) {
if err := checkPublishedGodeps(check); err != nil {
// this means the published godeps are no longer up to date
@@ -148,8 +161,6 @@ func rePrepareRelease() {
}
// if master != lastTag, always increment
- master := check.GetMasterVersion()
- lastTag := check.GetLastTag()
if master != lastTag {
newmhash := check.GetTagHash(master)
oldlhash := check.GetTagHash(lastTag)
@@ -186,14 +197,6 @@ func rePrepareRelease() {
continue
}
- if argv.Quick != nil {
- // if argv has 'quick' don't do anything
- // that doesn't actually have a patch
- if master == lastTag {
- continue
- }
- }
-
if argv.Protobuf && check.GetRepoType() == "protobuf" {
log.Printf("NEED RELEASE FOR %s err: %v\n", check.GetGoPath(), "because --protobuf")
// if --protobuf, this will force upgrade each one