diff options
-rwxr-xr-x | contrib/_incr_version | 2 | ||||
-rw-r--r-- | meson.build | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/_incr_version b/contrib/_incr_version index 7059918d..436faf14 100755 --- a/contrib/_incr_version +++ b/contrib/_incr_version | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/sh -eu | 1 | #!/bin/sh -eu |
2 | old_version="$1" | 2 | old_version="$1" |
3 | new_version="$2" | 3 | new_version="$2" |
4 | sed -i meson.build -e "s/version: '$old_version'/version: '$new_version'/g" | 4 | sed -i meson.build -e "s/^ version: .*#release_version/ version: '$new_version', #release_version/g" |
5 | 5 | ||
6 | printf "Minimum wlroots version? " | 6 | printf "Minimum wlroots version? " |
7 | read wlr_version_min | 7 | read wlr_version_min |
diff --git a/meson.build b/meson.build index 70afcd50..230d6b1e 100644 --- a/meson.build +++ b/meson.build | |||
@@ -1,7 +1,7 @@ | |||
1 | project( | 1 | project( |
2 | 'sway', | 2 | 'sway', |
3 | 'c', | 3 | 'c', |
4 | version: '1.2', | 4 | version: '1.2', #release_version |
5 | license: 'MIT', | 5 | license: 'MIT', |
6 | meson_version: '>=0.48.0', | 6 | meson_version: '>=0.48.0', |
7 | default_options: [ | 7 | default_options: [ |