Skip to content

Commit

Permalink
fixed 打包时先删除旧包
Browse files Browse the repository at this point in the history
  • Loading branch information
bajins committed Jan 2, 2020
1 parent c10c2d2 commit d8a92ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 7z_pack.bat
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ set allList=%allList%_openbsd_amd64,_windows_386.exe,_windows_amd64.exe,
set allList=%allList%_linux_386,_linux_amd64,_linux_arm,_linux_mips,
set allList=%allList%_linux_mips64,_linux_mips64le,_linux_mipsle,_linux_s390x

:: 删除旧的压缩包文件
del *.zip *.tar *.gz

:GETGOX
set GOPROXY=https://goproxy.io
go get github.com/mitchellh/gox
Expand All @@ -49,8 +52,6 @@ for %%i in (%allList%) do (
if not %errorlevel% == 0 (
goto :GETGOX
)
:: 删除旧的压缩包文件
del *.zip *.tar *.gz
)
)

Expand Down

0 comments on commit d8a92ea

Please sign in to comment.