chore: run go generate ./... for all builds

This commit is contained in:
AJ ONeal 2023-11-05 00:22:24 -06:00
parent ce27e9d610
commit 759dc46f11
No known key found for this signature in database
GPG Key ID: F1D692A76F70CF98
4 changed files with 9 additions and 1 deletions

View File

@ -31,6 +31,8 @@ fn_package() { (
echo "$my_bin.tar.xz" echo "$my_bin.tar.xz"
); } ); }
go generate ./...
export GOAMD64=v1 export GOAMD64=v1
export GOARCH=amd64 export GOARCH=amd64
fn_package fn_package

View File

@ -30,6 +30,8 @@ fn_package() { (
echo "$my_bin.tar.xz" echo "$my_bin.tar.xz"
); } ); }
go generate ./...
export GOAMD64=v2 export GOAMD64=v2
export GOARCH=amd64 export GOARCH=amd64
fn_package fn_package

View File

@ -21,7 +21,9 @@ function fn_package() {
Compress-Archive "$my_bin" "$my_bin.zip" Compress-Archive "$my_bin" "$my_bin.zip"
Write-Output "$my_bin.zip" Write-Output "$my_bin.zip"
} }
go generate ./...
$Env:GOAMD64 = "v1" $Env:GOAMD64 = "v1"
$Env:GOARCH = "amd64" $Env:GOARCH = "amd64"

View File

@ -32,6 +32,8 @@ fn_package() { (
echo "$my_bin.zip" echo "$my_bin.zip"
); } ); }
go generate ./...
export GOAMD64=v1 export GOAMD64=v1
export GOARCH=amd64 export GOARCH=amd64
fn_package fn_package