Closed jamesbeedy closed 1 year ago
Currently, the jhack version is pinned in the snapcraft.yaml and in the pyproject.toml.
jhack
snapcraft.yaml
pyproject.toml
This is confusing and increases maintenance overhead.
To fix this issue, infer the project version from importlib metadata and set using snapcraftctl
snapcraftctl
I'm not familiar with snapcraftctl, do you have an example snap using this mechanism?
found some docs: https://snapcraft.io/docs/using-external-metadata#meta-scriptlet
Currently, the
jhack
version is pinned in thesnapcraft.yaml
and in thepyproject.toml
.This is confusing and increases maintenance overhead.
To fix this issue, infer the project version from importlib metadata and set using
snapcraftctl