From aeff933b47eec002ffc1999a1fe30cc1239fb1f2 Mon Sep 17 00:00:00 2001 From: Max P Date: Fri, 16 Aug 2024 18:07:54 +0200 Subject: [PATCH] Reorder Git commands for cleanup Reordered the Git checkout command to occur after removing the unwanted files. This ensures that the cleanup operations are performed on the correct branch and reflect in the release process accurately. --- .github/workflows/CreateRelease.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CreateRelease.yml b/.github/workflows/CreateRelease.yml index 50fe830..bee0f25 100644 --- a/.github/workflows/CreateRelease.yml +++ b/.github/workflows/CreateRelease.yml @@ -94,12 +94,12 @@ jobs: id: create_temp_branch if: steps.check_version.outputs.skip_release == 'false' run: | - # Checkout the release branch - git checkout release - # Remove unwanted files rm -rf .gitignore package-lock.json + # Checkout the release branch + git checkout release + # Add new/modified files git add README.md package.json LICENSE dist/ src/ tsconfig.json