Skip to content

Commit 3cfdff0

Browse files
committed
changelog and checkout
1 parent c55dbe7 commit 3cfdff0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tool/release_helper.sh

Lines changed: 5 additions & 1 deletion
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
@@ -30,13 +30,17 @@ NEXT_BRANCH="next_version_$(date +%s)"
3030
git checkout -b $CLEAN_BRANCH;
3131
COMMIT_MESSAGE=$(dart tool/update_version.dart auto -d -t release)
3232
dart tool/update_version.dart auto -t release
33+
dart tool/bin/repo_tool.dart generate-changelog
3334
git commit -am "$COMMIT_MESSAGE"
3435

3536
git checkout -b $NEXT_BRANCH;
3637
COMMIT_MESSAGE=$(dart tool/update_version.dart auto -d -t $TYPE)
3738
dart tool/update_version.dart auto -t $TYPE
3839
git commit -am "$COMMIT_MESSAGE"
3940

41+
42+
git checkout $CLEAN_BRANCH
43+
4044
echo "RELEASE HELPER FINISHED"
4145
echo "Clean Branch: $CLEAN_BRANCH"
4246
echo "Next Branch: $NEXT_BRANCH"

0 commit comments

Comments
 (0)