From fe25b27fa63da8a4b30a008c224b3d305190fa49 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sat, 23 Oct 2021 22:57:33 +0200 Subject: Add a script to update version So that it is not forgot in the future. This is to be used with semver script from Drew DeVault. --- contrib/_incr_version | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 contrib/_incr_version diff --git a/contrib/_incr_version b/contrib/_incr_version new file mode 100755 index 0000000..343fba7 --- /dev/null +++ b/contrib/_incr_version @@ -0,0 +1,5 @@ +#!/bin/sh -eux +sed -i meson.build -e "s/^ version : '${1}'/ version : '${2}'/" +sed -i README -e "s/v${1}/v${2}/" +git add meson.build README +git commit -m "Update version to ${2}" -- cgit v1.2.3