Simplify release branch checkout process

Removed unnecessary git stash operations during release branch checkout. This streamlines the workflow by only focusing on switching to the release branch and adding the required files, which reduces potential complications and speeds up the release preparation process.
This commit is contained in:
2024-08-16 17:57:58 +02:00
parent 9caf12c61d
commit 49490f2647

View File

@@ -94,15 +94,9 @@ jobs:
id: create_temp_branch
if: steps.check_version.outputs.skip_release == 'false'
run: |
# Stash current changes (optional, only if you have unstaged changes you want to keep)
git stash
# Checkout the release branch
git checkout release
# Apply stashed changes (if you stashed earlier)
git stash pop || true
# Add new/modified files
git add README.md package.json LICENSE dist/ src/ tsconfig.json