diff --git a/.snapcraft/snapcraft.yaml b/.snapcraft/snapcraft.yaml index 51eaa81c3441..63190b4510ca 100644 --- a/.snapcraft/snapcraft.yaml +++ b/.snapcraft/snapcraft.yaml @@ -47,10 +47,9 @@ parts: - nodejs rocketchat-server: plugin: dump - prepare: cd programs/server; npm install; cd npm/node_modules/meteor/rocketchat_google-vision; npm install grpc + prepare: curl -SLf "https://releases.rocket.chat/#{RC_VERSION}/download/" -o rocket.chat.tgz; tar xvf rocket.chat.tgz --strip 1; cd programs/server; npm install; cd npm/node_modules/meteor/rocketchat_google-vision; npm install grpc@1.6.6; after: [node] - source: https://releases.rocket.chat/${RC_VERSION}/download/ - source-type: tar + source: . stage-packages: - graphicsmagick stage: