code: func maybeSkipArchive(env build.Environment) {
  	if env.IsPullRequest {
  		log.Printf("skipping because this is a PR build")
  		os.Exit(0)
  	}
  	if env.IsCronJob {
  		log.Printf("skipping because this is a cron job")
  		os.Exit(0)
  	}
  	if env.Branch != "master" && !strings.HasPrefix(env.Tag, "v1.") {
  		log.Printf("skipping because branch %q, tag %q is not on the whitelist", env.Branch, env.Tag)
  		os.Exit(0)
  	}
  }
docs: // skips archiving for some build configurations.