dmitri.shuralyov.com/website/gido

update release branches to be for Go 1.15 and 1.14

Go 1.15 has been released recently, so start using it.

Updates https://dmitri.shuralyov.com/website/gido/...$issues/3.
dmitshur committed 4 years ago commit d2c7b7eec450806980d4eefb626ccf6df2ef99dc
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.14", "release-branch.go1.13"} {
		for _, branch := range []string{"master", "release-branch.go1.15", "release-branch.go1.14"} {
			dirs, err := walkRepositoryBranch("https://"+servProj, repoRoot, branch)
			if err == errBranchNotFound && branch != "master" {
				// Skip missing release branch.
				continue
			} else if err != nil {