summaryrefslogtreecommitdiff
path: root/build.go
diff options
context:
space:
mode:
Diffstat (limited to 'build.go')
-rw-r--r--build.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/build.go b/build.go
index 14c9f6f..5b3abf2 100644
--- a/build.go
+++ b/build.go
@@ -48,9 +48,9 @@ func (f *Forge) doBuild(repo *gitpb.Repo, userFlags []string, goWhat string) err
version := repo.GetCurrentBranchVersion()
/*
- loop := repo.Tags.SortByRefname()
- for loop.Scan() {
- t := loop.Next()
+ all := repo.Tags.SortByRefname()
+ for all.Scan() {
+ t := all.Next()
log.Info("Build() tag:", t.Refname)
}
*/
@@ -66,9 +66,9 @@ func (f *Forge) doBuild(repo *gitpb.Repo, userFlags []string, goWhat string) err
}
// run autogenpb in all protobuf repos
- loop1 := repo.GoDeps.SortByGoPath()
- for loop1.Scan() {
- t := loop1.Next()
+ all := repo.GoDeps.SortByGoPath()
+ for all.Scan() {
+ t := all.Next()
found := f.Repos.FindByGoPath(t.GetGoPath())
if found.RepoType() == "protobuf" {
if err := f.runAutogenpb(found); err != nil {