Skip to content

Commit be12660

Browse files
authored
chore: simplify release workflow and remove some of the diagnostics
Updated the Git push diagnostics step to simplify the output and removed unpushed commits check.
1 parent 90310e7 commit be12660

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
9292
npm run release:ci -- --semver ${{ inputs.semver }} --branch ${{ github.head_ref || github.ref_name }} --create-release github --yes
9393
94-
- name: Verbose Git Push Diagnostics
94+
- name: Git Push with Diagnostics
9595
env:
9696
# Use the GitHub token for authentication
9797
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -113,13 +113,9 @@ jobs:
113113
git rev-parse HEAD
114114
git rev-parse --abbrev-ref HEAD
115115
116-
# Optional: show any unpushed commits
117-
echo "📦 Unpushed Commits:"
118-
git log origin/master..HEAD --oneline || true
119-
120-
# Attempt push with verbose output
116+
# Attempt push
121117
echo "🛫 Attempting Push:"
122-
GIT_CURL_VERBOSE=1 GIT_TRACE=1 git push -u origin HEAD:master --verbose
118+
git push -u origin HEAD:master --verbose
123119
124120
- name: Real Last Resource Git Push
125121
env:
@@ -130,4 +126,4 @@ jobs:
130126
git config --global user.name "${{ github.actor }}"
131127
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
132128
133-
git push -u origin HEAD:master
129+
git push -u origin HEAD:master

0 commit comments

Comments
 (0)