Skip to content

Commit 10f02ea

Browse files
authored
fix milestone script (#5019)
2 parents d9a0ae0 + b6ea399 commit 10f02ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/milestone-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ if ! [[ $(git status --porcelain -u no --branch) == "## main...origin/main" ]]
7575
fi
7676

7777
ORIGINAL_BRANCH=""
78-
if git status --porcelain -u no --branch == "## main...origin/main"; then
78+
if [[ $(git status --porcelain -u no --branch) == "## main...origin/main" ]]; then
7979
ORIGINAL_BRANCH="main";
8080
fi
81-
if git status --porcelain -u no --branch == "## develop...origin/develop"; then
81+
if [[ $(git status --porcelain -u no --branch) == "## develop...origin/develop" ]]; then
8282
ORIGINAL_BRANCH="develop";
8383
fi
8484

0 commit comments

Comments
 (0)