[neon/snap-packaging/qt6-snap-runtime] /: automatically set version based on sdk version
Alex Lowe
null at kde.org
Wed Jul 17 10:02:59 BST 2024
Git commit 173d503229384a1fabe80213d8301afad48a2765 by Alex Lowe.
Committed on 23/05/2024 at 17:13.
Pushed by scarlettmoore into branch 'master'.
automatically set version based on sdk version
M +5 -1 snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/qt6-snap-runtime/-/commit/173d503229384a1fabe80213d8301afad48a2765
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 0bfa26e..43fd9d9 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1,6 +1,5 @@
name: kde-qt6-core22
base: core22
-version: 6.6.3
summary: Qt Framework
description: |
Qt is a cross-platform application development framework widely used
@@ -9,6 +8,7 @@ description: |
grade: stable
confinement: strict
+adopt-info: kde-qt6-core22-sdk
slots:
kde-qt6-core22:
@@ -19,7 +19,11 @@ slots:
parts:
kde-qt6-core22-sdk:
plugin: nil
+ build-snaps: [yq/latest/stable]
stage-snaps: [kde-qt6-core22-sdk/latest/stable]
+ override-stage: |
+ craftctl default
+ craftctl set version=$(yq '.version' $CRAFT_STAGE/meta.kde-qt6-core22-sdk/snap.yaml)
override-prime: |
set -eux
craftctl default
More information about the Neon-commits
mailing list