|
@@ -60,8 +60,8 @@ parts:
|
|
after: [yarn]
|
|
after: [yarn]
|
|
plugin: dump
|
|
plugin: dump
|
|
source: https://github.com/zwave-js/zwavejs2mqtt.git
|
|
source: https://github.com/zwave-js/zwavejs2mqtt.git
|
|
- source-branch: "master"
|
|
|
|
- #source-tag: $SNAPCRAFT_PROJECT_VERSION
|
|
|
|
|
|
+ #source-branch: "master"
|
|
|
|
+ source-tag: $SNAPCRAFT_PROJECT_VERSION
|
|
build-packages:
|
|
build-packages:
|
|
- gcc
|
|
- gcc
|
|
- build-essential
|
|
- build-essential
|
|
@@ -69,7 +69,7 @@ parts:
|
|
override-build: |
|
|
override-build: |
|
|
set -x
|
|
set -x
|
|
# Used when testing an unreleased version of Z-wavejs
|
|
# Used when testing an unreleased version of Z-wavejs
|
|
- #sed -i 's/"zwave-js".*$/"zwave-js"\: "8.8.3-0-pr-3830-852dbcf"/g' ${SNAPCRAFT_PART_BUILD}/package.json
|
|
|
|
|
|
+ sed -i 's/"zwave-js".*$/"zwave-js"\: "8.9.0-beta.0"/g' ${SNAPCRAFT_PART_BUILD}/package.json
|
|
if [ -n "${http_proxy-}" ]; then
|
|
if [ -n "${http_proxy-}" ]; then
|
|
yarn config set httpProxy "${http_proxy}"
|
|
yarn config set httpProxy "${http_proxy}"
|
|
fi
|
|
fi
|