Default to vim if EDITOR is not set

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2016-01-27 13:26:32 +00:00
parent 888f4b43c9
commit 3547c55523
1 changed files with 6 additions and 4 deletions

View File

@ -63,15 +63,17 @@ git merge --strategy=ours --no-edit $REMOTE/release
git config "branch.${BRANCH}.release" $VERSION
editor=${EDITOR:-vim}
echo "Update versions in docs/install.md, compose/__init__.py, script/run.sh"
$EDITOR docs/install.md
$EDITOR compose/__init__.py
$EDITOR script/run.sh
$editor docs/install.md
$editor compose/__init__.py
$editor script/run.sh
echo "Write release notes in CHANGELOG.md"
browser "https://github.com/docker/compose/issues?q=milestone%3A$VERSION+is%3Aclosed"
$EDITOR CHANGELOG.md
$editor CHANGELOG.md
git diff