Skip to content

Commit

Permalink
fix milestone script
Browse files Browse the repository at this point in the history
  • Loading branch information
hmottestad committed Jun 5, 2024
1 parent d9a0ae0 commit b6ea399
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/milestone-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ if ! [[ $(git status --porcelain -u no --branch) == "## main...origin/main" ]]
fi

ORIGINAL_BRANCH=""
if git status --porcelain -u no --branch == "## main...origin/main"; then
if [[ $(git status --porcelain -u no --branch) == "## main...origin/main" ]]; then
ORIGINAL_BRANCH="main";
fi
if git status --porcelain -u no --branch == "## develop...origin/develop"; then
if [[ $(git status --porcelain -u no --branch) == "## develop...origin/develop" ]]; then
ORIGINAL_BRANCH="develop";
fi

Expand Down

0 comments on commit b6ea399

Please sign in to comment.