Skip to content

Commit

Permalink
Rename to BUILD_METADATA
Browse files Browse the repository at this point in the history
  • Loading branch information
jpm-canonical committed Jun 7, 2024
1 parent f0a22d7 commit 21e03ec
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 @@ -32,7 +32,7 @@ parts:
all-clusters:
plugin: nil
build-environment:
- PACKAGE_VERSION: snap
- BUILD_METADATA: snap
source: https://github.com/project-chip/connectedhomeip.git
source-depth: 1
source-tag: master
Expand All @@ -45,7 +45,7 @@ parts:
# prefix the snap version with the upstream tag, or fall back to the commit hash
UPSTREAM_VERSION=$(git describe --exact-match --tags 2> /dev/null || git rev-parse --short HEAD)
craftctl set version=$UPSTREAM_VERSION+$PACKAGE_VERSION
craftctl set version=$UPSTREAM_VERSION+$BUILD_METADATA
override-build: |
# The project writes its data to /tmp which isn't persisted.
Expand Down

0 comments on commit 21e03ec

Please sign in to comment.