vlc | branch: master | Steve Lhomme <[email protected]> | Mon Jun 15 16:33:25 2020 +0200| [c4a79d9586958a43a2b4e98d279ef27c1ba1025d] | committer: Steve Lhomme
snap: make sure we don't fail with a missing git version This fixes CI failure on branches with a lot of patches. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c4a79d9586958a43a2b4e98d279ef27c1ba1025d --- extras/package/snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/package/snap/snapcraft.yaml b/extras/package/snap/snapcraft.yaml index 8f71f63c6f..7ee9954cf3 100644 --- a/extras/package/snap/snapcraft.yaml +++ b/extras/package/snap/snapcraft.yaml @@ -95,7 +95,7 @@ parts: --disable-wayland \ --enable-merge-ffmpeg make -j $(getconf _NPROCESSORS_ONLN) - echo $(git describe HEAD) > $SNAPCRAFT_STAGE/version + echo $(git describe --always HEAD) > $SNAPCRAFT_STAGE/version make install sed -i 's|Icon=vlc|Icon=/usr/share/icons/hicolor/256x256/apps/vlc\.png|' $SNAPCRAFT_PART_INSTALL/usr/share/applications/vlc.desktop sed -i 's|TryExec=.*|TryExec=/snap/bin/vlc|' $SNAPCRAFT_PART_INSTALL/usr/share/applications/vlc.desktop _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
