From a21cddc69ad69925fd61e4306cc5b0cc26cfbda3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sawicz=20=28Saviq=29?= Date: Thu, 19 Jan 2023 11:17:01 +0100 Subject: [PATCH] snap: use `version: git` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Snapcraft can determine the version from git on its own. Signed-off-by: MichaƂ Sawicz (Saviq) --- snap/snapcraft.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index c6cf535e1..e5cb4a09e 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: subsurface -adopt-info: subsurface +version: git icon: icons/subsurface-icon.svg summary: Open source divelog program for recreational, tech, and free-divers description: | @@ -151,9 +151,6 @@ parts: - qtlocation5-dev - qtpositioning5-dev - qttools5-dev - override-pull: | - snapcraftctl pull - snapcraftctl set-version $( git describe ) override-build: | mkdir -p ../install-root ln -sf ../../../stage/usr/lib/*/qt5/plugins/geoservices/libqtgeoservices_googlemaps.so \