Browse Source

Version bump

Joachim M. Giæver 3 years ago
parent
commit
d8f0cb4497
1 changed files with 5 additions and 1 deletions
  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