CI: move script into separate directory
authorJosef Schlehofer <[email protected]>
Sun, 25 May 2025 10:49:40 +0000 (12:49 +0200)
committerJiri Slachta <[email protected]>
Tue, 17 Jun 2025 02:33:35 +0000 (04:33 +0200)
This change follows the structure of GitHub workflow
folders from the main OpenWrt repository, where scripts
are in separate folder.

Signed-off-by: Josef Schlehofer <[email protected]>
.github/workflows/ci_helpers.sh [deleted file]
.github/workflows/scripts/ci_helpers.sh [new file with mode: 0644]

diff --git a/.github/workflows/ci_helpers.sh b/.github/workflows/ci_helpers.sh
deleted file mode 100644 (file)
index 60dcd4e..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-color_out() {
-       printf "\e[0;$1m$PKG_NAME: %s\e[0;0m\n" "$2"
-}
-
-success() {
-       color_out 32 "$1"
-}
-
-info() {
-       color_out 36 "$1"
-}
-
-err() {
-       color_out 31 "$1"
-}
-
-warn() {
-       color_out 33 "$1"
-}
-
-err_die() {
-       err "$1"
-       exit 1
-}
diff --git a/.github/workflows/scripts/ci_helpers.sh b/.github/workflows/scripts/ci_helpers.sh
new file mode 100644 (file)
index 0000000..60dcd4e
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+color_out() {
+       printf "\e[0;$1m$PKG_NAME: %s\e[0;0m\n" "$2"
+}
+
+success() {
+       color_out 32 "$1"
+}
+
+info() {
+       color_out 36 "$1"
+}
+
+err() {
+       color_out 31 "$1"
+}
+
+warn() {
+       color_out 33 "$1"
+}
+
+err_die() {
+       err "$1"
+       exit 1
+}