From d05202bb46c12068a5ca1f4eaae4864d2a4d0f30 Mon Sep 17 00:00:00 2001 From: Pablo Vilas Date: Sun, 9 Jun 2024 11:38:52 -0500 Subject: [PATCH] Fix format styles --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed2cc0a..01a1015 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: MAJOR_VERSION_NUMBER=$(echo "$VERSION_NUMBER" | cut -d '.' -f 1) VERSION=$(echo "v$VERSION_NUMBER") MAJOR_VERSION=$(echo "v$MAJOR_VERSION_NUMBER") - + # Prepare code to upload npm run all git config user.name github-actions @@ -34,10 +34,10 @@ jobs: git add . git commit -m "Version $VERSION" git push origin main - + # Create or update a Git tag with the version number git tag -f -a "$VERSION" -m "Version $VERSION" - + # Check if the major tag already exists if git rev-parse "$MAJOR_VERSION" >/dev/null 2>&1; then # Update the existing major tag @@ -46,7 +46,7 @@ jobs: # Create a new tag git tag -a "$MAJOR_VERSION" -m "Version $MAJOR_VERSION" fi - + # Push the Git tags to GitHub git push origin "$VERSION" --force git push origin "$MAJOR_VERSION" --force