Skip to content

Commit 61e6099

Browse files
author
rahul-infra
committed
fix: Updated release-preview with removing unwanted displays.
1 parent db62936 commit 61e6099

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

.github/workflows/release-preview.yaml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ jobs:
2222
run: |
2323
# Explicitly checkout to the PR branch by name
2424
git checkout -B ${{ github.event.pull_request.head.ref }}
25-
echo "Current branch: $(git branch --show-current)"
26-
echo "Git status:"
27-
git status
2825
2926
- name: Setup Node.js
3027
uses: actions/setup-node@v4
@@ -33,21 +30,10 @@ jobs:
3330

3431
- name: Setup preview config
3532
run: |
36-
echo "=== Main .releaserc.json ==="
37-
cat .releaserc.json
38-
echo "=============================="
39-
echo ""
40-
4133
# Update preview config with the PR branch name
4234
sed -i.bak "s/BRANCH_PLACEHOLDER/${{ github.event.pull_request.head.ref }}/g" .preview-releaserc.json
4335
rm .preview-releaserc.json.bak
4436
45-
echo "=== Preview .preview-releaserc.json ==="
46-
cat .preview-releaserc.json
47-
echo "========================================"
48-
echo ""
49-
echo "Preview config ready for branch: ${{ github.event.pull_request.head.ref }}"
50-
5137
- name: Run semantic-release (dry-run)
5238
id: semantic
5339
env:
@@ -67,15 +53,6 @@ jobs:
6753
export GITHUB_REF="refs/heads/${{ github.event.pull_request.head.ref }}"
6854
export GITHUB_REF_NAME="${{ github.event.pull_request.head.ref }}"
6955
70-
echo "=== Debug Info ==="
71-
echo "Expected branch: ${{ github.event.pull_request.head.ref }}"
72-
echo "Current git branch: $(git branch --show-current)"
73-
echo "GITHUB_REF: $GITHUB_REF"
74-
echo "GITHUB_REF_NAME: $GITHUB_REF_NAME"
75-
echo "GITHUB_HEAD_REF: $GITHUB_HEAD_REF"
76-
echo "=================="
77-
echo ""
78-
7956
# Temporarily use preview config
8057
mv .releaserc.json .releaserc.json.main
8158
cp .preview-releaserc.json .releaserc.json

0 commit comments

Comments
 (0)