From 49490f2647ceef21ed43416c8dfd6bfb1f00bb2f Mon Sep 17 00:00:00 2001 From: Max P Date: Fri, 16 Aug 2024 17:57:58 +0200 Subject: [PATCH] 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. --- .github/workflows/CreateRelease.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/CreateRelease.yml b/.github/workflows/CreateRelease.yml index 3fe13da..9ddbf03 100644 --- a/.github/workflows/CreateRelease.yml +++ b/.github/workflows/CreateRelease.yml @@ -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