Update snapcraft.yaml to pick up version from pyproject.toml
This commit is contained in:
parent
8b4ff4b443
commit
0d1178cba0
|
@ -31,7 +31,7 @@ parts:
|
||||||
source: .
|
source: .
|
||||||
override-pull: |
|
override-pull: |
|
||||||
snapcraftctl pull
|
snapcraftctl pull
|
||||||
snapcraftctl set-version `grep ^VERSION $SNAPCRAFT_PART_SRC/setup.py | sed 's/.*"\(.*\)"/\1/'`
|
snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/pyproject.toml | sed 's/.*"\(.*\)"/\1/'`
|
||||||
|
|
||||||
deploy-scripts:
|
deploy-scripts:
|
||||||
plugin: dump
|
plugin: dump
|
||||||
|
@ -90,4 +90,4 @@ apps:
|
||||||
LC_ALL: C.UTF-8
|
LC_ALL: C.UTF-8
|
||||||
LANG: C.UTF-8
|
LANG: C.UTF-8
|
||||||
PKG_MARKER: SNAP
|
PKG_MARKER: SNAP
|
||||||
daemon: simple
|
daemon: simple
|
||||||
|
|
Loading…
Reference in New Issue