Skip to content

Commit

Permalink
For build ci
Browse files Browse the repository at this point in the history
  • Loading branch information
studyzy committed Jul 10, 2018
1 parent 923ee9c commit c5a6c01
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 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,7 @@ func doArchive(cmdline []string) {
// log.Fatal(err)
// }
// }

}

func archiveBasename(arch string, env build.Environment) string {
Expand Down

0 comments on commit c5a6c01

Please sign in to comment.