Skip to content

Commit b6ea399

Browse files
committed
fix milestone script
1 parent d9a0ae0 commit b6ea399

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)