Skip to content

Commit 2b4808e

Browse files
committed
Remove old zips before building new ones
1 parent 1ee33aa commit 2b4808e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ build_one: ytester
3838

3939
build_all: deps
4040
gox $(BUILD_ARGS) -output "build/ynetd-{{.OS}}-{{.Arch}}/ynetd" -verbose
41+
rm -f build/*.zip
4142
(cd build && for i in ynetd-*/; do (cd "$$i" && zip "../$${i%/}.zip" ynetd*) && rm -rf "$$i"; done)
4243

4344
build_release: build_all sign_builds

0 commit comments

Comments
 (0)