Skip to content

Commit d5a6440

Browse files
Merge pull request #1365 from kz6fittycent/master
Update snapcraft.yaml
2 parents 5531f59 + 265e59b commit d5a6440

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,13 +1,15 @@
1-
name: slcli # check to see if it's available
2-
version: 'git' # will be replaced by a `git describe` based version string
1+
name: slcli
2+
adopt-info: slcli
33
summary: A CLI tool to interact with the SoftLayer API.
44
description: |
55
A command-line interface is also included and can be used to manage various SoftLayer products and services.
6-
grade: stable
7-
confinement: strict
8-
base: core18
6+
97
license: MIT
108

9+
base: core18
10+
grade: stable
11+
confinement: strict
12+
1113
apps:
1214
slcli:
1315
command: slcli
@@ -24,7 +26,12 @@ parts:
2426
source-type: git
2527
plugin: python
2628
python-version: python3
29+
override-pull: |
30+
snapcraftctl pull
31+
snapcraftctl set-version "$(git describe --tags | sed 's/^v//')"
32+
2733
build-packages:
28-
- python3
34+
- python3
35+
2936
stage-packages:
3037
- python3

0 commit comments

Comments
 (0)