Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
studyzy committed Jul 10, 2018
1 parent c5a6c01 commit 547ecbc
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions build/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,11 @@ func doLint(cmdline []string) {

func doArchive(cmdline []string) {
var (
arch = flag.String("arch", runtime.GOARCH, "Architecture cross packaging")
atype = flag.String("type", "zip", "Type of archive to write (zip|tar)")
// signer = flag.String("signer", "", `Environment variable holding the signing key (e.g. LINUX_SIGNING_KEY)`)
// upload = flag.String("upload", "", `Destination to upload the archives (usually "gethstore/builds")`)
ext string
arch = flag.String("arch", runtime.GOARCH, "Architecture cross packaging")
atype = flag.String("type", "zip", "Type of archive to write (zip|tar)")
signer = flag.String("signer", "", `Environment variable holding the signing key (e.g. LINUX_SIGNING_KEY)`)
upload = flag.String("upload", "", `Destination to upload the archives (usually "gethstore/builds")`)
ext string
)
flag.CommandLine.Parse(cmdline)
switch *atype {
Expand Down Expand Up @@ -386,6 +386,8 @@ func doArchive(cmdline []string) {
// log.Fatal(err)
// }
// }
fmt.Println(signer)
fmt.Println(upload)

}

Expand Down

0 comments on commit 547ecbc

Please sign in to comment.