From 03d08811b63d9ad68d1b9cbe59b8870c13b1f35b Mon Sep 17 00:00:00 2001
From: Kubat <mael.martin31@gmail.com>
Date: Sat, 6 Feb 2021 15:54:09 +0100
Subject: [PATCH] CI: Only deploy packages on master, copy kagari as a .py file
 for it will be displayed by kurisu

---
 .gitlab-ci.yml              | 1 -
 utils/scripts/validate.bash | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0ee5b52d..f0569db2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,7 +32,6 @@ stages:
         - kurisu
     only:
         - master
-        - merge_requests
 
 variables:
     GIT_DEPTH: 3 # No need to clone all the history
diff --git a/utils/scripts/validate.bash b/utils/scripts/validate.bash
index 8f6dd4d8..f96af44c 100755
--- a/utils/scripts/validate.bash
+++ b/utils/scripts/validate.bash
@@ -175,7 +175,7 @@ function do_build ()
 function do_copy ()
 {
     [ "x$1" = "xkagari" ] && {
-        cp "$LKT_SRC/utils/scripts/kagari.py" "$LKT_TARGET_DIR/$(date +%F)/kagari";
+        cp "$LKT_SRC/utils/scripts/kagari.py" "$LKT_TARGET_DIR/$(date +%F)/";
     } || {
         check_cd $LKT_BUILD;
         rm "$LKT_BUILD/*-`arch`.AppImage";
-- 
GitLab