Skip to content

Commit 2613a3d

Browse files
Merge pull request #1361 from kz6fittycent/master
Updated snapcraft.yaml
2 parents 627e039 + 8cd8846 commit 2613a3d

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

snap/snapcraft.yaml

+12-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
name: slcli # check to see if it's available
2-
version: 'git' # will be replaced by a `git describe` based version string
3-
summary: Python based SoftLayer API Tool. # 79 char long summary
1+
name: slcli
2+
adopt-info: slcli
43
description: |
54
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
5+
6+
license: MIT
7+
8+
base: core18
9+
grade: stable
10+
confinement: strict
811

912
apps:
1013
slcli:
@@ -17,11 +20,14 @@ apps:
1720
- network-bind
1821

1922
parts:
20-
my-part:
23+
slcli:
2124
source: https://github.com/softlayer/softlayer-python
2225
source-type: git
2326
plugin: python
2427
python-version: python3
28+
override-pull: |
29+
snapcraftctl pull
30+
snapcraftctl set-version "$(git describe --tags | sed 's/^v//')"
2531
2632
build-packages:
2733
- python3

0 commit comments

Comments
 (0)