mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-31 10:58:27 +00:00
Remove leftovers from signing
This commit is contained in:
parent
55002d7adf
commit
ff04648112
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,6 +12,5 @@ bin
|
||||
perfstats*.csv
|
||||
coverage.xml
|
||||
syncthing.sig
|
||||
syncthing.exe.sig
|
||||
RELEASE
|
||||
deb
|
||||
|
10
build.go
10
build.go
@ -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)})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user