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:
6
.github/workflows/CreateRelease.yml
vendored
6
.github/workflows/CreateRelease.yml
vendored
@@ -94,15 +94,9 @@ jobs:
|
|||||||
id: create_temp_branch
|
id: create_temp_branch
|
||||||
if: steps.check_version.outputs.skip_release == 'false'
|
if: steps.check_version.outputs.skip_release == 'false'
|
||||||
run: |
|
run: |
|
||||||
# Stash current changes (optional, only if you have unstaged changes you want to keep)
|
|
||||||
git stash
|
|
||||||
|
|
||||||
# Checkout the release branch
|
# Checkout the release branch
|
||||||
git checkout release
|
git checkout release
|
||||||
|
|
||||||
# Apply stashed changes (if you stashed earlier)
|
|
||||||
git stash pop || true
|
|
||||||
|
|
||||||
# Add new/modified files
|
# Add new/modified files
|
||||||
git add README.md package.json LICENSE dist/ src/ tsconfig.json
|
git add README.md package.json LICENSE dist/ src/ tsconfig.json
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user