diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-08-27 13:41:54 +0900 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-08-27 13:41:54 +0900 |
| commit | 67ed1a678a3c7dde37930c519744d966ce51bb0b (patch) | |
| tree | 627f1dba1f5f821399e7582757eafebf208eea1a | |
| parent | 8b277608be525d44456810e742df6bbfc0f59c4f (diff) | |
Further refinements to _incr_version script
| -rwxr-xr-x | contrib/_incr_version | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/_incr_version b/contrib/_incr_version index 7563965b..b89ecd19 100755 --- a/contrib/_incr_version +++ b/contrib/_incr_version @@ -1,6 +1,5 @@ #!/bin/sh -eu -old_version="$1" new_version="$2" -sed -i meson.build -e "s/version: '$old_version'/version: '$new_version'/g" +sed -i meson.build -e "s/^\tversion: '.*'/\tversion: '$new_version'/" git add meson.build git commit -m "Update version to $new_version" |
