mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
build: Assert extension-tool version is bumped alongside gnome-shell
I always forget to keep the extension-tool version number in sync when doing a new release. Given that it's unlikely that I'll do much better in the future by myself, make distcheck fail when the versions don't match. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1076
This commit is contained in:
parent
bea3987f3e
commit
dc002a61eb
2 changed files with 7 additions and 1 deletions
|
|
@ -244,12 +244,17 @@ libgvc = subproject('gvc',
|
|||
libgvc_gir = libgvc.get_variable('libgvc_gir')
|
||||
|
||||
if get_option('extensions_tool')
|
||||
subproject('extensions-tool',
|
||||
extension_tool = subproject('extensions-tool',
|
||||
default_options: [
|
||||
'man=@0@'.format(get_option('man')),
|
||||
'package_name=@0@'.format(meson.project_name()),
|
||||
]
|
||||
)
|
||||
|
||||
extension_tool_version = extension_tool.get_variable('package_version')
|
||||
assert(extension_tool_version == meson.project_version(),
|
||||
'extension-tool version does not match project version'
|
||||
)
|
||||
endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue