Skip to content

Commit

Permalink
Merge pull request #121 from pwittrock/release
Browse files Browse the repository at this point in the history
Fix bugs with `apiserver-boot init glide` `--commit` flag
  • Loading branch information
Phillip Wittrock authored Aug 25, 2017
2 parents 08ae522 + a6af8cb commit 36f0ca1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/apiserver-boot/boot/init_repo/glide.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ var glideTemplate = `
package: {{.Repo}}
import:
{{ if .BuilderCommit -}}
- name: github.com/kubernetes-incubator/apiserver-builder
- package: github.com/kubernetes-incubator/apiserver-builder
version: {{ .BuilderCommit }}
{{ end -}}
- package: k8s.io/api
Expand Down
2 changes: 1 addition & 1 deletion cmd/apiserver-builder-release/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ func main() {
buildCmd.Flags().StringVar(&output, "output", "apiserver-builder",
"value name of the tar file to build")
buildCmd.Flags().StringVar(&version, "version", "", "version name")
buildCmd.Flags().StringVar(&commit, "commit", "", "apiserver-builder commit")

buildCmd.Flags().BoolVar(&dovendor, "vendor", true, "if true, fetch packages to vendor")
buildCmd.Flags().BoolVar(&test, "test", true, "if true, run tests")
cmd.AddCommand(buildCmd)

vendorCmd.Flags().StringVar(&commit, "commit", "", "apiserver-builder commit")
vendorCmd.Flags().StringVar(&version, "version", "", "version name")
vendorCmd.Flags().StringVar(&cachevendordir, "vendordir", "",
"if specified, use this directory for setting up vendor instead of creating a tmp directory.")
Expand Down

0 comments on commit 36f0ca1

Please sign in to comment.