Add build script

This commit is contained in:
2025-10-01 13:21:08 +02:00
parent b53628e698
commit ca57ee728e
2 changed files with 4 additions and 2 deletions

2
build.sh Normal file
View File

@@ -0,0 +1,2 @@
GOOS=windows GOARCH=amd64 go build -o cln.exe .
GOOS=linux GOARCH=amd64 go build -o cln .

View File

@@ -16,8 +16,8 @@ fi
echo "Tag: $TAG" echo "Tag: $TAG"
echo "Building the thing..." echo "Building the thing..."
go build . sh build.sh
go install . sh install.sh
echo "Creating a release..." echo "Creating a release..."
TOKEN="$GITEA_API_KEY" TOKEN="$GITEA_API_KEY"