aboutsummaryrefslogtreecommitdiff
path: root/scripts/release.sh
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-05-16 23:27:27 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-05-16 23:27:27 -0400
commit39af303600fb1ccd32145b5a95f44a9e4cda6ee9 (patch)
treeedd143ba68d9e6d986c46debd164b52fd0c3a37f /scripts/release.sh
parent68717132b1828c7aeb36a9afb3d046ccb6a4a27a (diff)
parent954f983bc1516ba47d8961538e1ddba09d764794 (diff)
downloadrneovim-39af303600fb1ccd32145b5a95f44a9e4cda6ee9.tar.gz
rneovim-39af303600fb1ccd32145b5a95f44a9e4cda6ee9.tar.bz2
rneovim-39af303600fb1ccd32145b5a95f44a9e4cda6ee9.zip
Merge pull request #4742 from brcolow/shellcheck-lint
Run shellcheck (shell scripting linter) on shell scripts.
Diffstat (limited to 'scripts/release.sh')
-rwxr-xr-xscripts/release.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
index 514e5b380a..67738ccc96 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
# Performs steps to tag a release.
#
@@ -45,11 +45,11 @@ echo "Most recent tag: ${__LAST_TAG}"
echo "Release version: ${__VERSION}"
sed -i -r 's/(NVIM_VERSION_PRERELEASE) "-dev"/\1 ""/' CMakeLists.txt
echo "Building changelog since ${__LAST_TAG}..."
-__CHANGELOG="$(./scripts/git-log-pretty-since.sh $__LAST_TAG 'vim-patch:\S')"
+__CHANGELOG="$(./scripts/git-log-pretty-since.sh "$__LAST_TAG" 'vim-patch:\S')"
git add CMakeLists.txt
git commit --edit -m "${__RELEASE_MSG} ${__CHANGELOG}"
-git tag -a v${__VERSION} -m "NVIM v${__VERSION}"
+git tag -a v"${__VERSION}" -m "NVIM v${__VERSION}"
sed -i -r 's/(NVIM_VERSION_PRERELEASE) ""/\1 "-dev"/' CMakeLists.txt
nvim -c '/NVIM_VERSION' -c 'echo "Update version numbers"' CMakeLists.txt