Release v1.0.35
Some checks failed
Release Build / create-release (push) Failing after 6m17s
Release Build / create-docker-image (push) Has been skipped
Release Build / update-to-release-branch (push) Has been skipped

This commit is contained in:
2025-07-28 17:33:06 +06:00
parent 707cd82717
commit 75822f7fb8
5 changed files with 8 additions and 6 deletions

View File

@@ -13,7 +13,9 @@ fi
# Собираем для указанной платформы
if [ -n "$1" ] && [ -n "$2" ]; then
GOOS=$1 GOARCH=$2 go build -o "hello-api-$1-$2" main.go
echo "Building for $1 $2..."
GOOS=$1 GOARCH=$2 go build -o "bin/hello-api-$1-$2" main.go
else
go build -o hello-api main.go
echo "Building for current platform..."
go build -o bin/hello-api main.go
fi