Flatpak builds pass the commit sha as environment variable

This variable is refrenced at build-aux/meson/gen-demo-header.py but never passed to the flatpak builder.
This fixes that the flatpak build don't have their commit in the about window.
This commit is contained in:
Jan Willem Eriks 2024-01-16 18:24:45 +01:00
parent 401b902cbf
commit cf8cca8724
No known key found for this signature in database
GPG Key ID: 93BC0ADA0DEC1B47

View File

@ -28,7 +28,7 @@ flatpak build ${builddir} meson \
-Ddemo-profile=devel \
_flatpak_build
flatpak build ${builddir} ninja -C _flatpak_build install
flatpak build --env=CI_COMMIT_SHORT_SHA=$CI_COMMIT_SHORT_SHA ${builddir} ninja -C _flatpak_build install
flatpak-builder \
--user --disable-rofiles-fuse \