From 607a3d88ae76e1fa0cc687634c81517da6d4bc02 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Thu, 30 Mar 2017 21:27:35 +0900 Subject: [PATCH] CURRENT_VERSION used in fn-repo-update-history-and-commit --- contrib/release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/release b/contrib/release index 4579d77bc..480658c0c 100755 --- a/contrib/release +++ b/contrib/release @@ -200,13 +200,13 @@ fn-repo-update() { fi log-info "(release-dokku) Adding HISTORY.md, commiting and tagging" - fn-repo-update-history-and-commit "$NEXT_VERSION" + fn-repo-update-history-and-commit "$CURRENT_VERSION" "$NEXT_VERSION" git tag "v${NEXT_VERSION}" } fn-repo-update-history-and-commit() { declare desc="Updates the history file and commits the changes" - declare NEXT_VERSION="$1" + declare CURRENT_VERSION="$1" NEXT_VERSION="$2" local COMMIT_MESSAGE HISTORY HISTORY_CONTENTS HISTORY_DOCUMENTATION HISTORY_ENHANCEMENT HISTORY_BUG ISSUE_FILE pushd "$ROOT_DIR" >/dev/null