Skip to content

Commit

Permalink
Support editor in do-release.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan committed Jul 8, 2018
1 parent b947546 commit be6e14b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion do-release.bash
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ fi
set -e

echo "Edit changeset:"
editor RELEASE.md
if which editor &>/dev/null; then
editor RELEASE.md
else
vi RELEASE.md
fi

echo "OK?"
read PROMPT
Expand Down

0 comments on commit be6e14b

Please sign in to comment.