diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-05-16 23:27:27 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-05-16 23:27:27 -0400 |
commit | 39af303600fb1ccd32145b5a95f44a9e4cda6ee9 (patch) | |
tree | edd143ba68d9e6d986c46debd164b52fd0c3a37f /scripts/release.sh | |
parent | 68717132b1828c7aeb36a9afb3d046ccb6a4a27a (diff) | |
parent | 954f983bc1516ba47d8961538e1ddba09d764794 (diff) | |
download | rneovim-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-x | scripts/release.sh | 6 |
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 |