From 7d0137e586366a309ada9f878892c5662e97d58a Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sat, 13 Apr 2019 18:23:33 -0700
Subject: [PATCH] Loader script isn't needed

---
 .gitlab-ci.yml |  4 ++--
 bin/deploy.sh  | 20 --------------------
 2 files changed, 2 insertions(+), 22 deletions(-)
 delete mode 100755 bin/deploy.sh

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9ee66ec..b6cd7c4 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -51,7 +51,7 @@ PluginSVN:
   before_script:
     - apt-get update
     - apt-get install -y rsync
+    - curl -o ./bin/deploy.sh https://git-cdn.e15r.co/open-source/wp-org-plugin-deploy/raw/master/scripts/deploy.sh
+    - chmod +x ./bin/deploy.sh
   script: ./bin/deploy.sh
   when: on_success
-#  only:
-#    - master
diff --git a/bin/deploy.sh b/bin/deploy.sh
deleted file mode 100755
index 3c4cd5c..0000000
--- a/bin/deploy.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env bash
-
-# Note that this does not use pipefail
-# because if the grep later doesn't match any deleted files,
-# which is likely the majority case,
-# it does not exit with a 0, and I only care about the final exit.
-set -eo
-
-# Download shared script and execute.
-# See https://git.ethitter.com/open-source/wp-org-plugin-deploy/blob/master/README.md
-DEPLOY_SCRIPT_SRC="https://git.ethitter.com/open-source/wp-org-plugin-deploy/raw/master/scripts/deploy.sh"
-DEPLOY_SCRIPT_NAME="deploy-wp-org.sh"
-
-echo "ℹ︎ Downloading script from $DEPLOY_SCRIPT_SRC"
-
-curl -o "./${DEPLOY_SCRIPT_NAME}" "$DEPLOY_SCRIPT_SRC"
-chmod +x "./${DEPLOY_SCRIPT_NAME}"
-
-echo "ℹ︎ Running $DEPLOY_SCRIPT_NAME"
-bash "./${DEPLOY_SCRIPT_NAME}"
-- 
GitLab