diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-08-27 12:29:42 +0900 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-08-27 12:29:42 +0900 |
commit | c2030b9abd20f5166c5106db450bf1704b8cd6a4 (patch) | |
tree | 987289db3571541eef638625621e3750262702e1 /contrib/_incr_version | |
parent | f07b9afee575fb52bb17bbcc7ad0ecf6b19926e6 (diff) |
Add _incr_version to contrib/
Diffstat (limited to 'contrib/_incr_version')
-rw-r--r-- | contrib/_incr_version | 6 |
1 files changed, 6 insertions, 0 deletions
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" |