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()