From ceeaa0a52a959f2598014de2aa92b87368c4f2ee Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Fri, 30 Aug 2024 14:38:27 -0300 Subject: [PATCH] Set check to true in run_command --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 59f4d4f7..ec429f10 100644 --- a/meson.build +++ b/meson.build @@ -32,7 +32,7 @@ if get_option('is_devel') app_id_suffix = '-Devel' find_program('git', required: true) - vcs_tag = run_command('git', 'rev-parse', '--short', 'HEAD').stdout().strip() + vcs_tag = run_command('git', 'rev-parse', '--short', 'HEAD', check: true).stdout().strip() version_suffix = '-dev.@0@'.format (vcs_tag) endif