aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-24 12:13:54 +0100
committerSimon Ser <contact@emersion.fr>2020-12-24 12:14:19 +0100
commit21ed6582ceae24f24b8620687a2339e5ce47c27e (patch)
tree40458a0f41e0a58b9bdb55f61314d9d53e601c67
parent64a2ca4dbad9ae31b240ad8dd092c3664de3e02f (diff)
Remove contrib/_incr_version
Not used anymore.
-rwxr-xr-xcontrib/_incr_version28
1 files changed, 0 insertions, 28 deletions
diff --git a/contrib/_incr_version b/contrib/_incr_version
deleted file mode 100755
index 949c845b..00000000
--- a/contrib/_incr_version
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh -eu
-old_version="$1"
-new_version="$2"
-sed -i meson.build -e "s/version: '$old_version'/version: '$new_version'/g"
-
-bugfix='n'
-printf "Breaking API changes? (y/n) "
-read breaking
-if [ "$breaking" = 'n' ]
-then
- printf "Bugfix release (no backwards-incompatible ABI changes)? (y/n) "
- read bugfix
-fi
-
-soversion=$(egrep '^soversion =' meson.build | cut -d'=' -f2-)
-soversion=$((soversion))
-
-if [ "$bugfix" != 'y' ]
-then
- soversion=$((soversion+1))
-fi
-
-sed -i meson.build \
- -e "s/soversion = .*/soversion = $soversion/g"
-
-exit 1
-git add meson.build
-git commit -m "Update version to $new_version"