|
@@ -12,7 +12,8 @@ description: |
|
|
|
tools.
|
|
|
grade: stable # must be 'stable' to release into candidate/stable channels
|
|
|
confinement: strict # use 'strict' once you have the right plugs and slots
|
|
|
-#confinement: devmode # use 'strict' once you have the right plugs and slots
|
|
|
+#confinement: devmode # use 'strict' once you have the right plugs and slot
|
|
|
+compression: lzo
|
|
|
architectures:
|
|
|
- build-on: amd64
|
|
|
|
|
@@ -28,7 +29,6 @@ apps:
|
|
|
QT_QPA_PLATFORMTHEME: gtk3
|
|
|
slots: [dbus-flameshot]
|
|
|
plugs:
|
|
|
- - kde-frameworks-5-plug
|
|
|
- home
|
|
|
- removable-media
|
|
|
- network
|
|
@@ -36,6 +36,9 @@ apps:
|
|
|
- opengl
|
|
|
- x11
|
|
|
- wayland
|
|
|
+ - desktop
|
|
|
+ - desktop-legacy
|
|
|
+ - unity7
|
|
|
|
|
|
parts:
|
|
|
flameshot:
|
|
@@ -46,7 +49,8 @@ parts:
|
|
|
source-type: git
|
|
|
override-pull: |
|
|
|
snapcraftctl pull
|
|
|
- last_committed_tag="$(git tag -l --sort=-v:refname | head -1)"
|
|
|
+ # remove release candidates
|
|
|
+ last_committed_tag="$(git tag -l --sort=-v:refname | grep -v rc | head -1)"
|
|
|
git_revno="$(git rev-list $(git describe --tags --abbrev=0)..HEAD --count)"
|
|
|
git_hash="$(git rev-parse --short HEAD)"
|
|
|
snapcraftctl set-version "${last_committed_tag}+git${git_revno}.${git_hash}"
|