dmitri.shuralyov.com/website/gido

update release branches to be for Go 1.14 and 1.13

Add 1.14 and drop 1.12 in order to get with the times.

Updates https://dmitri.shuralyov.com/website/gido/...$issues/3.
dmitshur committed 4 years ago commit 1fdfe09b78364e4305cfc7fec4b2888fac391bb3
Showing partial commit. Full Commit
Collapse all
packages.go
@@ -23,11 +23,11 @@ import (
var existingDirectories map[string]struct{}

func initExistingDirectories() error {
	existingDirectories = make(map[string]struct{})
	for servProj, repoRoot := range gerritProjects {
		for _, branch := range []string{"master", "release-branch.go1.13", "release-branch.go1.12"} {
		for _, branch := range []string{"master", "release-branch.go1.14", "release-branch.go1.13"} {
			dirs, err := walkRepositoryBranch("https://"+servProj, repoRoot, branch)
			if err == errBranchNotFound && branch != "master" {
				// Skip missing release branch.
				continue
			} else if err != nil {