Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rmch91 committed Mar 1, 2024
1 parent 3116d98 commit fe66052
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/minor-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ jobs:
echo "Checking for existence of the branch: $release_branch"
branch_exists=$(git branch --list $release_branch);
if [ -n "$branch_exists" ]; then
if git ls-remote --heads origin "$release_branch" | grep -q "$release_branch"; then
echo "Error: Branch $release_branch already exists. Please check the branch before proceeding."
exit 1
else
echo "Branch $release_branch does not exist. Creating new one."
git checkout -b "$release_branch"
fi
git checkout -b "$release_branch"
- name: Update SCSS Versioning
Expand Down

0 comments on commit fe66052

Please sign in to comment.