Skip to content

Commit

Permalink
Update snapcraft.yaml to pick up version from pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
AdnanHodzic committed Nov 22, 2023
1 parent 8b4ff4b commit 0d1178c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ parts:
source: .
override-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:
plugin: dump
Expand Down Expand Up @@ -90,4 +90,4 @@ apps:
LC_ALL: C.UTF-8
LANG: C.UTF-8
PKG_MARKER: SNAP
daemon: simple
daemon: simple

0 comments on commit 0d1178c

Please sign in to comment.