Skip to content

Commit

Permalink
fix for milestone script (#4732)
Browse files Browse the repository at this point in the history
print the original branch
  • Loading branch information
hmottestad authored Aug 7, 2023
1 parent 3569066 commit 4d5e7e8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/milestone-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,15 @@ if ! [[ $(git status --porcelain -u no --branch) == "## develop...origin/devel
ORIGINAL_BRANCH="develop";
fi

echo ""
echo "You are on branch ${ORIGINAL_BRANCH}"
read -rp "Do you want to use this branch for your milestone build (y/n)?" choice
case "${choice}" in
y|Y ) echo "";;
n|N ) exit;;
* ) echo "unknown response, exiting"; exit;;
esac

echo "Running git pull to make sure we are up to date"
git checkout develop
git pull
Expand Down

0 comments on commit 4d5e7e8

Please sign in to comment.