Skip to content

Commit 05bf704

Browse files
author
Kostas Demiris
committed
test: silly network naming
1 parent 272bba8 commit 05bf704

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.github/workflows/create-release.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,15 @@ jobs:
5252
runs-on: ubuntu-latest
5353

5454
steps:
55+
- name: Clear potential caches
56+
run: |
57+
# Clear any local caches that might interfere
58+
rm -rf ~/.cache/* || true
59+
rm -rf /tmp/* || true
60+
61+
# Force environment refresh
62+
echo "CACHE_BUST=$(date +%s)" >> $GITHUB_ENV
63+
5564
- name: Checkout repository
5665
uses: actions/checkout@v4
5766

@@ -506,10 +515,8 @@ jobs:
506515
# Generate comprehensive PR body using external script
507516
./scripts/generate-pr-body.sh "${{ env.VERSION }}" "${{ env.CALCULATED_HEIGHT }}" "${{ env.DEPOSIT }}" "${{ env.EXPEDITED }}" "${{ env.PROPOSAL_FILE }}" "${{ env.RELEASE_FILE }}" "${{ env.RELEASE_NOTES_FILE }}" "${{ env.RELEASE_TAG }}" "${{ env.COMMIT_COUNT }}" "${{ env.FILES_CHANGED }}" "${{ env.PREVIOUS_VERSION }}" "${{ env.DARWIN_AMD64_CHECKSUM }}" "${{ env.DARWIN_ARM64_CHECKSUM }}" "${{ env.LINUX_AMD64_CHECKSUM }}" "${{ env.LINUX_ARM64_CHECKSUM }}" "${{ github.run_number }}" "${{ github.sha }}"
508517
509-
echo "PR_BODY_FILE=pr_description.md" >> $GITHUB_ENV
510-
511-
cat pr_description.md
512-
518+
echo "PR_BODY_FILE=pr_body.md" >> $GITHUB_ENV
519+
cat pr_body.md
513520
514521
- name: Create or Update Pull Request
515522
env:
@@ -537,15 +544,15 @@ jobs:
537544
if [ -n "$EXISTING_PR" ] && [ "$EXISTING_PR" != "null" ]; then
538545
echo "Updating existing PR #$EXISTING_PR"
539546
# Update existing PR body
540-
gh pr edit "$EXISTING_PR" --body-file pr_description.md
547+
gh pr edit "$EXISTING_PR" --body-file pr_body.md
541548
echo "✅ Updated existing PR #$EXISTING_PR"
542549
else
543550
echo "Creating new PR"
544551
gh pr create \
545552
--base "${{ env.TARGET_BRANCH }}" \
546553
--head "${{ env.BRANCH_NAME }}" \
547554
--title "🚀 Upgrade to Xion ${{ env.RELEASE_TAG }}" \
548-
--body-file pr_description.md
555+
--body-file pr_body.md
549556
echo "✅ PR created successfully"
550557
fi
551558

0 commit comments

Comments
 (0)