From c2030b9abd20f5166c5106db450bf1704b8cd6a4 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 27 Aug 2019 12:29:42 +0900 Subject: Add _incr_version to contrib/ --- contrib/_incr_version | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 contrib/_incr_version (limited to 'contrib') diff --git a/contrib/_incr_version b/contrib/_incr_version new file mode 100644 index 00000000..7563965b --- /dev/null +++ b/contrib/_incr_version @@ -0,0 +1,6 @@ +#!/bin/sh -eu +old_version="$1" +new_version="$2" +sed -i meson.build -e "s/version: '$old_version'/version: '$new_version'/g" +git add meson.build +git commit -m "Update version to $new_version" -- cgit v1.2.3-54-g00ecf