Skip to content

Commit 6f28754

Browse files
committed
release helper improvement
1 parent a57330d commit 6f28754

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

tool/release_helper.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -ex
1+
#!/bin/bash -e
22

33
DEVTOOLS_REMOTE=$(git remote -v | grep "flutter/devtools.git" | grep "(fetch)"| tail -n1 | cut -w -f1)
44
TYPE=$1
@@ -41,9 +41,12 @@ git commit -am "$COMMIT_MESSAGE"
4141

4242
git checkout $CLEAN_BRANCH
4343

44+
echo "------------------------"
4445
echo "RELEASE HELPER FINISHED"
45-
echo "Clean Branch: $CLEAN_BRANCH"
46-
echo "Next Branch: $NEXT_BRANCH"
46+
echo "The branches created are as follows:"
47+
echo
48+
echo "DEVTOOLS_CLEAN_BRANCH=\"$CLEAN_BRANCH\""
49+
echo "DEVTOOLS_NEXT_BRANCH=\" $NEXT_BRANCH\""
4750

48-
export DEVTOOLS_CLEAN_BRANCH=$CLEAN_BRANCH
49-
export DEVTOOLS_NEXT_BRANCH=$NEXT_BRANCH
51+
export DEVTOOLS_CLEAN_BRANCH="$CLEAN_BRANCH"
52+
export DEVTOOLS_NEXT_BRANCH="$NEXT_BRANCH"

0 commit comments

Comments
 (0)