Skip to content

Commit ee67020

Browse files
authored
Update snapcraft.yaml
Rebase to Core18 Adopt-info for auto versioning
1 parent 9445a89 commit ee67020

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

snap/snapcraft.yaml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
name: slcli # check to see if it's available
2-
version: '5.5.1+git' # check versioning
3-
summary: Python based SoftLayer API Tool. # 79 char long summary
1+
name: slcli
2+
adopt-info: slcli
3+
summary: Python based SoftLayer API Tool.
44
description: |
55
A command-line interface is also included and can be used to manage various SoftLayer products and services.
6-
grade: stable # must be 'stable' to release into candidate/stable channels
7-
confinement: strict # use 'strict' once you have the right plugs
6+
7+
license: MIT
8+
9+
base: core18
10+
grade: stable
11+
confinement: strict
812

913
apps:
1014
slcli:
@@ -17,11 +21,14 @@ apps:
1721
- network-bind
1822

1923
parts:
20-
my-part:
24+
slcli:
2125
source: https://github.com/softlayer/softlayer-python
2226
source-type: git
2327
plugin: python
2428
python-version: python3
29+
override-pull: |
30+
snapcraftctl pull
31+
snapcraftctl set-version "$(git describe --tags | sed 's/^v//')"
2532
2633
build-packages:
2734
- python3

0 commit comments

Comments
 (0)