dmitri.shuralyov.com/website/gido

update release branches to be for Go 1.13 and 1.12

Add 1.13 and drop 1.11 in order to get with the times.

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