aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-10-28 14:53:09 +0200
committerGitHub <noreply@github.com>2016-10-28 14:53:09 +0200
commit5b514b59880313acafd5c339d4090319ed525ce1 (patch)
tree1052206a6bf80ad1ac3cff490e7dfec1fc7fce9e /scripts
parentfb4d5b05166235ae32db48cb7eb8d3776ea8386a (diff)
parentc5f5f427c6f8d1b4136bf41171f8f0980561080e (diff)
downloadrneovim-5b514b59880313acafd5c339d4090319ed525ce1.tar.gz
rneovim-5b514b59880313acafd5c339d4090319ed525ce1.tar.bz2
rneovim-5b514b59880313acafd5c339d4090319ed525ce1.zip
Merge #5535 from justinmk/api_level
api: Nvim version + API level
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
index 5a5b5a6498..0dd840074a 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -5,6 +5,7 @@
# Steps:
# Create the "release" commit:
# - CMakeLists.txt: Unset NVIM_VERSION_PRERELEASE
+# - CMakeLists.txt: Unset NVIM_API_PRERELEASE
# - Tag the commit.
# Create the "version bump" commit:
# - CMakeLists.txt: Set NVIM_VERSION_PRERELEASE to "-dev"
@@ -46,6 +47,7 @@ __BUMP_MSG="version bump"
echo "Most recent tag: ${__LAST_TAG}"
echo "Release version: ${__VERSION}"
$__sed -i.bk 's/(NVIM_VERSION_PRERELEASE) "-dev"/\1 ""/' CMakeLists.txt
+$__sed -i.bk 's/(NVIM_API_PRERELEASE) true/\1 false/' CMakeLists.txt
echo "Building changelog since ${__LAST_TAG}..."
__CHANGELOG="$(./scripts/git-log-pretty-since.sh "$__LAST_TAG" 'vim-patch:\S')"