Make readme and rework the flags a little

This commit is contained in:
2025-03-25 22:55:01 +01:00
parent d5c08d86f5
commit 34477b2c34
3 changed files with 132 additions and 24 deletions

View File

@@ -16,7 +16,7 @@ fi
echo "Tag: $TAG"
echo "Building the thing..."
go build -o BigChef.exe .
go build -o chef.exe .
echo "Creating a release..."
TOKEN="$GITEA_API_KEY"
@@ -43,6 +43,6 @@ echo "Release ID: $RELEASE_ID"
echo "Uploading the things..."
curl -X POST \
-H "Authorization: token $TOKEN" \
-F "attachment=@BigChef.exe" \
"$GITEA/api/v1/repos/$REPO/releases/${RELEASE_ID}/assets?name=BigChef.exe"
rm BigChef.exe
-F "attachment=@chef.exe" \
"$GITEA/api/v1/repos/$REPO/releases/${RELEASE_ID}/assets?name=chef.exe"
rm chef.exe