mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
@@ -124,7 +124,7 @@ func init() {
|
||||
hc := oauth2.NewClient(context.Background(), oauth2.StaticTokenSource(&oauth2.Token{AccessToken: string(t)}))
|
||||
client = github.NewClient(hc)
|
||||
|
||||
//get current version if in travis build
|
||||
// get current version if in travis build
|
||||
if tc := os.Getenv("TRAVIS_COMMIT"); tc != "" {
|
||||
commitish = tc
|
||||
}
|
||||
|
Reference in New Issue
Block a user