Compare commits

..
3 Commits
Author SHA1 Message Date
LaurensBartelds 376f244035 fix: update permissions in settings.local.json and add .claude/settings.local.json to .gitignore
Release Pipeline / build-and-release (push) Failing after 4m22s
2026-04-24 10:47:24 +02:00
LaurensBarteldsandClaude Sonnet 4.6 c4e6219606 fix: revert release creation to softprops/action-gh-release@v2 (without generate_release_notes)
Manual curl approach silently dropped large tar.gz files due to Gitea's
attachment size limit. The action handles large file uploads correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 10:46:56 +02:00
LaurensBarteldsandClaude Sonnet 4.6 34410a9cb8 fix: add verbose output to release asset uploads for debugging
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 10:44:14 +02:00
3 changed files with 15 additions and 24 deletions

No files matched your search

+5 -1
View File
@@ -19,7 +19,11 @@
"Bash(python3 -c \"import yaml; yaml.safe_load\\(open\\('/c/Users/laure/Documents/Gitea/brainwave/.gitea/workflows/deploy.yml'\\)\\)\")", "Bash(python3 -c \"import yaml; yaml.safe_load\\(open\\('/c/Users/laure/Documents/Gitea/brainwave/.gitea/workflows/deploy.yml'\\)\\)\")",
"Bash(python3 -c \"import yaml; yaml.safe_load\\(open\\('.gitea/workflows/deploy.yml'\\)\\)\")", "Bash(python3 -c \"import yaml; yaml.safe_load\\(open\\('.gitea/workflows/deploy.yml'\\)\\)\")",
"Bash(cat)", "Bash(cat)",
"Read(//tmp/**)" "Read(//tmp/**)",
"Bash(xargs git *)",
"Bash(awk '{print $2}')",
"Bash(git tag *)",
"Bash(git push *)"
] ]
} }
} }
+9 -23
View File
@@ -81,26 +81,12 @@ jobs:
EOF EOF
- name: Create Release - name: Create Release
run: | uses: softprops/action-gh-release@v2
# Create the release with:
RELEASE_RESPONSE=$(curl -s -X POST \ files: |
"${{ github.server_url }}/api/v1/repos/${{ github.repository }}/releases" \ brainwave-amd64.tar.gz
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ brainwave-arm64.tar.gz
-H "Content-Type: application/json" \ docker-compose.amd64.yml
-d '{ docker-compose.arm64.yml
"tag_name": "${{ github.ref_name }}", env:
"name": "Release ${{ github.ref_name }}", GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
"draft": false,
"prerelease": false
}')
RELEASE_ID=$(echo "$RELEASE_RESPONSE" | jq -r '.id')
# Upload each asset
for FILE in brainwave-amd64.tar.gz brainwave-arm64.tar.gz docker-compose.amd64.yml docker-compose.arm64.yml; do
curl -f -X POST \
"${{ github.server_url }}/api/v1/repos/${{ github.repository }}/releases/${RELEASE_ID}/assets?name=${FILE}" \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-F "attachment=@${FILE}" \
|| echo "Warning: failed to upload ${FILE}"
done
+1
View File
@@ -1,2 +1,3 @@
backend/brainwave.db-shm backend/brainwave.db-shm
backend/brainwave.db-wal backend/brainwave.db-wal
.claude/settings.local.json