Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Commit

Permalink
fix: local snap development
Browse files Browse the repository at this point in the history
Signed-off-by: Bill Mahoney <bill.mahoney@intel.com>
  • Loading branch information
bill-mahoney committed Sep 9, 2020
1 parent 6f3e7e5 commit ea743ef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.snap
prime/
squashfs-root/
VERSION
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

7 changes: 6 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ name: edgex-device-grove
base: core18
version: "replace-me"
version-script: |
echo $(cat VERSION)-$(date +%Y%m%d)+$(git rev-parse --short HEAD)
if [ -f VERSION ]; then
PROJECT_VERSION=$(cat VERSION)
else
PROJECT_VERSION=local-dev
fi
echo $PROJECT_VERSION-$(date +%Y%m%d)+$(git rev-parse --short HEAD)
summary: Connect to Grove sensors on Raspberry Pi with EdgeX
description: |
The EdgeX Device Grove Service is developed to control/communicate Grove
Expand Down

0 comments on commit ea743ef

Please sign in to comment.