mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-06-08 04:22:06 +08:00
fix: streamline Windows binary extension handling in configuration
- Removed the redundant assignment of the ".exe" extension in .goreleaser.yml. - Added conditional assignment of the ".exe" extension in build_all.bat to ensure clarity and consistency in binary naming for Windows builds.
This commit is contained in:
parent
0f0d1c7d6f
commit
ee2532175a
@ -37,7 +37,6 @@ archives:
|
||||
{{- if eq .Arch "arm64" }}arm64{{ end }}
|
||||
{{- if and (eq .Os "darwin") (eq .Arch "amd64") }}_intel{{ end }}
|
||||
{{- if and (eq .Os "darwin") (eq .Arch "arm64") }}_apple_silicon{{ end }}
|
||||
{{- if eq .Os "windows" }}.exe{{ end }}
|
||||
|
||||
checksum:
|
||||
name_template: 'checksums.txt'
|
||||
|
@ -33,6 +33,7 @@ mkdir "..\bin" 2>nul
|
||||
set "os=%~1"
|
||||
set "arch=%~2"
|
||||
set "ext="
|
||||
if "%os%"=="windows" set "ext=.exe"
|
||||
|
||||
echo %GREEN%!EN_MESSAGES[5]! %os%/%arch%%RESET%
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user