Remove leftovers from signing

This commit is contained in:
Jakob Borg 2015-08-31 17:46:48 +02:00
parent 55002d7adf
commit ff04648112
2 changed files with 1 additions and 10 deletions

1
.gitignore vendored
View File

@ -12,6 +12,5 @@ bin
perfstats*.csv
coverage.xml
syncthing.sig
syncthing.exe.sig
RELEASE
deb

View File

@ -214,7 +214,7 @@ func build(pkg string, tags []string) {
binary += ".exe"
}
rmr(binary, binary+".sig")
rmr(binary)
args := []string{"build", "-ldflags", ldflags()}
if len(tags) > 0 {
args = append(args, "-tags", strings.Join(tags, ","))
@ -243,10 +243,6 @@ func buildTar() {
{src: "syncthing", dst: name + "/syncthing"},
}
if _, err := os.Stat("syncthing.sig"); err == nil {
files = append(files, archiveFile{src: "syncthing.sig", dst: name + "/syncthing.sig"})
}
for _, file := range listFiles("etc") {
files = append(files, archiveFile{src: file, dst: name + "/" + file})
}
@ -274,10 +270,6 @@ func buildZip() {
{src: "syncthing.exe", dst: name + "/syncthing.exe"},
}
if _, err := os.Stat("syncthing.exe.sig"); err == nil {
files = append(files, archiveFile{src: "syncthing.exe.sig", dst: name + "/syncthing.exe.sig"})
}
for _, file := range listFiles("extra") {
files = append(files, archiveFile{src: file, dst: name + "/" + filepath.Base(file)})
}