Commit b4a4fa47 authored by Kyle Nitzsche's avatar Kyle Nitzsche Committed by Ian Johnson

Sets snap version from VERSION file, edinburgh branch

Uses adopt-info with new 'version' part.
Appends date and git info to version as previously.
Signed-off-by: default avatarKyle Nitzsche <>
parent 5dd26934
name: edgexfoundry
base: core18
version: "replace-me"
version-script: |
echo $(cat VERSION)-$(date +%Y%m%d)+$(git rev-parse --short HEAD)
adopt-info: version
summary: Open-source framework for IoT edge computing
description: |
EdgeX Foundry is a vendor-neutral open source project hosted by The Linux
......@@ -340,6 +338,11 @@ apps:
- network-bind
plugin: nil
source: .
override-pull: |
snapcraftctl set-version $(cat $SNAPCRAFT_PROJECT_DIR/VERSION)-$(date +%Y%m%d)+$(git rev-parse --short HEAD)
plugin: nil
# the default source for a part that doesn't specify one is ".", which
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment