diff options
| author | Jeff Carr <[email protected]> | 2024-02-20 16:11:00 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-20 16:11:00 -0600 |
| commit | 8cc86a91cb6408fe1380b904c86162e931936a4f (patch) | |
| tree | 9e7a5a1b724786a254f6f4249b5d7b3ab8017f60 /whitelist.go | |
| parent | e927975dc890216c7172f711222cfdf283c0dd1c (diff) | |
guirelease finally does a single package again
after a week of recoding, fixing and improving
the original code, it was able to find a primitive
package (toolkits/debian) and update it correctly
Diffstat (limited to 'whitelist.go')
| -rw-r--r-- | whitelist.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/whitelist.go b/whitelist.go index 53df187..0b98f98 100644 --- a/whitelist.go +++ b/whitelist.go @@ -8,18 +8,18 @@ import ( ) func initWhitelist() { - release.whitelist = make(map[string]*repolist.Repo) + me.release.whitelist = make(map[string]*repolist.Repo) for _, repo := range me.repos.View.AllRepos() { if strings.HasPrefix(repo.GoPath(), "go.wit.com/dev/davecgh") { - release.whitelist[repo.GoPath()] = repo + me.release.whitelist[repo.GoPath()] = repo } // // if repo.String() == "go.wit.com/apps/guireleaser" { - // release.whitelist[repo.String()] = repo + // me.release.whitelist[repo.String()] = repo // } // // if repo.String() == "go.wit.com/lib/gui/repostatus" { - // release.whitelist[repo.String()] = repo + // me.release.whitelist[repo.String()] = repo // } // } @@ -31,7 +31,7 @@ func whitelist(path string) bool { return false } - _, ok := release.whitelist[path] + _, ok := me.release.whitelist[path] if ok { // log.Info("whitelist ok == true", path) return true |
