From aa58d3174dfbfd874ba15e7c2e05c59ab173b47c Mon Sep 17 00:00:00 2001 From: les Date: Thu, 15 Jul 2021 19:20:44 +0200 Subject: [PATCH] yarn does not update package installed from the same url! --- docs/docker/Dockerfile | 2 +- docs/install/debian.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docker/Dockerfile b/docs/docker/Dockerfile index c7264727..9ca1d1d2 100644 --- a/docs/docker/Dockerfile +++ b/docs/docker/Dockerfile @@ -1,5 +1,5 @@ FROM node:buster -RUN yarn cache clean +RUN yarn cache clean gancio RUN yarn global add --latest --silent https://gancio.org/latest.tgz 2> /dev/null ADD entrypoint.sh / diff --git a/docs/install/debian.md b/docs/install/debian.md index b61c84d8..3621a3c9 100644 --- a/docs/install/debian.md +++ b/docs/install/debian.md @@ -64,6 +64,7 @@ sudo pm2 startup -u gancio ## Upgrade ```bash +sudo yarn cache clean gancio sudo yarn global add --silent {{site.url}}/latest.tgz 2> /dev/null sudo service pm2 restart ```