From e15d84a2c10b3c141163604e5797f3cee531964f Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Thu, 5 Jul 2018 18:14:39 +0200
Subject: [PATCH] try to install yarn

---
 .gitlab-ci.yml                  | 2 +-
 release/arch/linux/build-lin.sh | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c66042787..d60d087dc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,9 @@
 stages:
   - github-sync
+  - package
   - build
   - test
   - pages
-  - package
   - prerelease
   - release
 
diff --git a/release/arch/linux/build-lin.sh b/release/arch/linux/build-lin.sh
index bb4ded3fc..e6e971963 100644
--- a/release/arch/linux/build-lin.sh
+++ b/release/arch/linux/build-lin.sh
@@ -19,9 +19,9 @@ fi
 # -
 # Parameters:
 install_yarn() {
-  curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
-  echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
-  sudo apt-get update && sudo apt-get install yarn
+  curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
+  echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
+  apt-get update && apt-get install yarn
 }
 # Copy nw.js compiled module released library to node libraries.
 # -
-- 
GitLab