Skip to content

Commit

Permalink
fix milestone script (#5019)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmottestad authored Jun 5, 2024
2 parents d9a0ae0 + b6ea399 commit 10f02ea
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 10f02ea

Please sign in to comment.