Skip to content

Commit

Permalink
Remove hardcoded tmp directory (use OS); Add link to Google developer…
Browse files Browse the repository at this point in the history
… console to README; Release only on tags
  • Loading branch information
dkerwin committed Apr 17, 2018
1 parent 73fc475 commit e9b7258
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ script:
- make dep
- make
- OS=darwin make
before_deploy:
- git tag "$(make version)"
deploy:
provider: releases
api_key:
Expand All @@ -18,6 +16,7 @@ deploy:
skip_cleanup: true
on:
repo: gini/dexter
tags: true
branches:
except:
- "/^[0-9]/"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ All you need is a properly configured Google client ID & secret.

## Configure Google credentials

- Open console.developers.google.com
- Open [console.developers.google.com](https://console.developers.google.com)
- Create new credentials
- OAuth Client ID
- Web Application
Expand Down
2 changes: 1 addition & 1 deletion cmd/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func (d *dexterOIDC) writeK8sConfig(token *oauth2.Token) error {
}

// write the config
tempKubeConfig, err := ioutil.TempFile("/tmp", "")
tempKubeConfig, err := ioutil.TempFile("", "")
defer os.Remove(tempKubeConfig.Name())

if err != nil {
Expand Down

0 comments on commit e9b7258

Please sign in to comment.