We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 125b96d commit 82e61d0Copy full SHA for 82e61d0
1 file changed
scripts/setup_workspace.sh
@@ -26,7 +26,7 @@ WORKSPACE_DIR="$(dirname "$ROOT_DIR")"
26
27
. "$THIS_DIR/kash/kash.sh"
28
29
-## Parse options
+## Parse options
30
##
31
begin_group "Setting up workspace ..."
32
@@ -56,6 +56,15 @@ if [ "$CI" != true ]; then
56
fi
57
58
59
+# Export KALISIO_DEVELOPMENT_DIR required by release-chart.sh and release-dev-chart.sh
60
+# to locate the decrypted rclone config (rclone.dec.conf)
61
+export KALISIO_DEVELOPMENT_DIR="$WORKSPACE_DIR"
62
+
63
+# In CI mode, persist the variable so subsequent steps can use it
64
+if [[ "${CI:-false}" == "true" ]]; then
65
+ echo "KALISIO_DEVELOPMENT_DIR=$WORKSPACE_DIR" >> "$GITHUB_ENV"
66
+fi
67
68
# Clone development.git
69
setup_workspace "$WORKSPACE_DIR" "$KALISIO_GITHUB_URL/kalisio/development.git"
70
0 commit comments