Skip to content

Commit

Permalink
Add SDK reference to snap version, drop version's patch (#75)
Browse files Browse the repository at this point in the history
Co-authored-by: JP Meijers <[email protected]>
  • Loading branch information
farshidtz and jpm-canonical committed Jun 19, 2024
1 parent 1114eca commit 5f3a195
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: matter-pi-gpio-commander
version: "2.0.0"
version: "2.0"
summary: Raspberry Pi GPIO as a Matter lighting app
description: Refer to https://snapcraft.io/matter-pi-gpio-commander
adopt-info: connectedhomeip

# Apart from libgpiod (LGPL-2.1-or-later), everything else has Apache-2.0 license
license: Apache-2.0 AND LGPL-2.1-or-later
Expand Down Expand Up @@ -115,6 +116,11 @@ parts:
# shallow clone the submodules
scripts/checkout_submodules.py --shallow --platform linux
override-build: |
# add SDK's tag, fall back to the commit hash
CHIP_REF=$(git describe --exact-match --tags 2> /dev/null || git rev-parse --short HEAD)
craftctl set version=$(craftctl get version)+chip-$CHIP_REF
lighting:
after: [libgpiod, test-blink, connectedhomeip]
plugin: nil
Expand Down

0 comments on commit 5f3a195

Please sign in to comment.