---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 6ad5a0f..5b6a244 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
project('somebar', ['c', 'cpp'],
- version: '0.1.0',
+ version: run_command('git', 'describe', '--tags').stdout().strip(),
default_options: [
'cpp_std=c++17',
'cpp_args=-Wno-parentheses',
--
2.40.1
somebar/patches: FAILED in 54s
[fix version][0] from [Ben Collerson][1]
[0]: https://lists.sr.ht/~raphi/public-inbox/patches/41579
[1]: mailto:benc@benc.cc
✗ #1000058 FAILED somebar/patches/archlinux.yml https://builds.sr.ht/~raphi/job/1000058
✗ #1000059 FAILED somebar/patches/freebsd.yml https://builds.sr.ht/~raphi/job/1000059
I'll fix the version manually. I don't want this to happen automatically with `git describe` because then downstream distributions would have to patch that invocation out (e.g. https://github.com/NixOS/nixpkgs/blob/5717cbc076d996e6c07b16706073f09e021d0b99/pkgs/applications/window-managers/yabar/build.nix#L45-L47)
Raphael