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.
This commit is contained in:
2024-08-16 18:07:54 +02:00
parent f77e2be99a
commit aeff933b47

View File

@@ -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