Update snapcraft.yaml

This commit is contained in:
Kimpe Andy 2024-01-31 08:55:12 +01:00 committed by GitHub
parent 2cb9f631d9
commit 6bbe053fd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,11 @@ parts:
plugin: dump
source-type: deb
override-build: |
echo "CRAFT_PROJECT_DIR=$CRAFT_PROJECT_DIR"
STABLE_TAG_CONFIG="$CRAFT_PROJECT_DIR/.stable_tag"
TAG_REF=$(cat "${STABLE_TAG_CONFIG}")
echo "TAG_REF=$TAG_REF"
snapcraftctl set version="$TAG_REF"
snapcraftctl build
# snapcraftctl pull
# last_commit="$(git describe | sed 's/^v//; s/-.*-/-/')"