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 authored and shadeyg56 committed Feb 12, 2024
1 parent bf1a0b4 commit ba2d57c
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 ba2d57c

Please sign in to comment.