mirror of
https://github.com/octoleo/syncthing.git
synced 2024-10-10 06:57:56 +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
|
perfstats*.csv
|
||||||
coverage.xml
|
coverage.xml
|
||||||
syncthing.sig
|
syncthing.sig
|
||||||
syncthing.exe.sig
|
|
||||||
RELEASE
|
RELEASE
|
||||||
deb
|
deb
|
||||||
|
10
build.go
10
build.go
@ -214,7 +214,7 @@ func build(pkg string, tags []string) {
|
|||||||
binary += ".exe"
|
binary += ".exe"
|
||||||
}
|
}
|
||||||
|
|
||||||
rmr(binary, binary+".sig")
|
rmr(binary)
|
||||||
args := []string{"build", "-ldflags", ldflags()}
|
args := []string{"build", "-ldflags", ldflags()}
|
||||||
if len(tags) > 0 {
|
if len(tags) > 0 {
|
||||||
args = append(args, "-tags", strings.Join(tags, ","))
|
args = append(args, "-tags", strings.Join(tags, ","))
|
||||||
@ -243,10 +243,6 @@ func buildTar() {
|
|||||||
{src: "syncthing", dst: name + "/syncthing"},
|
{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") {
|
for _, file := range listFiles("etc") {
|
||||||
files = append(files, archiveFile{src: file, dst: name + "/" + file})
|
files = append(files, archiveFile{src: file, dst: name + "/" + file})
|
||||||
}
|
}
|
||||||
@ -274,10 +270,6 @@ func buildZip() {
|
|||||||
{src: "syncthing.exe", dst: name + "/syncthing.exe"},
|
{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") {
|
for _, file := range listFiles("extra") {
|
||||||
files = append(files, archiveFile{src: file, dst: name + "/" + filepath.Base(file)})
|
files = append(files, archiveFile{src: file, dst: name + "/" + filepath.Base(file)})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user