From d8b0c2d2bd06a490074f733d92482daac567520e Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 22 Feb 2020 08:57:10 +0100 Subject: [PATCH] Fix setting of version number in meson.build --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 9e46f9d..a5e312c 100644 --- a/meson.build +++ b/meson.build @@ -100,6 +100,7 @@ else have_xwayland = false endif +version = '@0@'.format(meson.project_version()) git = find_program('git', native: true, required: false) if git.found() git_commit = run_command([git, 'rev-parse', '--short', 'HEAD']) @@ -111,8 +112,6 @@ if git.found() git_branch.stdout().strip(), ) endif -else - version = '@0@'.format(meson.project_version()) endif conf_data = configuration_data()