Fix nightly release workflow issues

- Fix backtick command substitution error using here-document
- Add extra spacing before disclaimer section
- Simplify commit message to just version number
This commit is contained in:
Lea Anthony 2025-07-26 08:12:55 +10:00
commit a412b70be5
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405

View file

@ -383,11 +383,7 @@ jobs:
echo "📝 Changes detected, creating commit..."
# Create commit with error handling
if git commit -m "🤖 Automated nightly release ${{ steps.release.outputs.version }}
Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>" 2>&1; then
if git commit -m "${{ steps.release.outputs.version }}" 2>&1; then
echo "✅ Successfully created commit"
# Push changes with retry logic
@ -473,7 +469,11 @@ jobs:
echo "Release Body Preview:"
echo "## Wails v3 Alpha Release - ${{ steps.release.outputs.version }}"
echo ""
echo "${{ steps.read_notes.outputs.release_notes }}"
cat << 'RELEASE_NOTES_EOF'
${{ steps.read_notes.outputs.release_notes }}
RELEASE_NOTES_EOF
echo ""
echo ""
echo ""
echo "---"
echo ""
@ -505,6 +505,8 @@ jobs:
${{ steps.read_notes.outputs.release_notes }}
---
🤖 This is an automated nightly release generated from the latest changes in the v3-alpha branch.