Hmm snapcraftctl pull
didn’t respect the env variable :
download-deb:
plugin: dump
source: https://link/name_$PROJECT_VERSION_amd64.deb
source-type: deb
override-pull: |
export PROJECT_VERSION=123
printenv # <---- shows PROJECT_VERSION=123
snapcraftctl pull # <---- variable in link does not become 123 but stays "$PROJECT_VERSION"
printenv # <---- shows PROJECT_VERSION=123
edit: It looks like snapcraftctl
doesn’t respect changes