chore: run go generate ./... for all builds
This commit is contained in:
parent
ce27e9d610
commit
759dc46f11
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue