瀏覽代碼

Version bump

Joachim M. Giæver 3 年之前
父節點
當前提交
d8f0cb4497
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      snap/snapcraft.yaml

+ 5 - 1
snap/snapcraft.yaml

@@ -1,6 +1,6 @@
 name: zwavejs2mqtt
 base: core20
-version: 'v4.2.0'
+version: 'v4.2.1'
 summary: Fully configurable Zwave to MQTT Gateway and Control Panel. 
 description: |
   - Configurable Zwave to Mqtt Gateway
@@ -83,6 +83,10 @@ parts:
       - udev
       - rsync
     override-build: |
+      if [ -n "$http_proxy" ]; then
+        export GLOBAL_AGENT_HTTP_PROXY="${http_proxy}"
+        export GLOBAL_AGENT_HTTPS_PROXY="${http_proxy}"
+      fi
       set -ex
       npm config set unsafe-perm true
       npm install npm@latest detect-libc