File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ description: |
1212 tools.
1313grade : stable # must be 'stable' to release into candidate/stable channels
1414confinement : strict # use 'strict' once you have the right plugs and slots
15- # confinement: devmode # use 'strict' once you have the right plugs and slots
15+ # confinement: devmode # use 'strict' once you have the right plugs and slot
16+ compression : lzo
1617architectures :
1718 - build-on : amd64
1819
@@ -28,14 +29,16 @@ apps:
2829 QT_QPA_PLATFORMTHEME : gtk3
2930 slots : [dbus-flameshot]
3031 plugs :
31- - kde-frameworks-5-plug
3232 - home
3333 - removable-media
3434 - network
3535 - network-bind
3636 - opengl
3737 - x11
3838 - wayland
39+ - desktop
40+ - desktop-legacy
41+ - unity7
3942
4043parts :
4144 flameshot :
4649 source-type : git
4750 override-pull : |
4851 snapcraftctl pull
49- last_committed_tag="$(git tag -l --sort=-v:refname | head -1)"
52+ # remove release candidates
53+ last_committed_tag="$(git tag -l --sort=-v:refname | grep -v rc | head -1)"
5054 git_revno="$(git rev-list $(git describe --tags --abbrev=0)..HEAD --count)"
5155 git_hash="$(git rev-parse --short HEAD)"
5256 snapcraftctl set-version "${last_committed_tag}+git${git_revno}.${git_hash}"
You can’t perform that action at this time.
0 commit comments