From 6dcbb6f790c20397cb2f9f3404a754f0f2f7f0db Mon Sep 17 00:00:00 2001 From: mitchell Date: Wed, 29 Nov 2023 09:31:43 -0500 Subject: [PATCH] Use `$script.name.path()` in activestate.yaml files. Scripts should be invoked like bash script files, not expanded inline. --- activestate.generators.yaml | 10 +++++----- activestate.yaml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/activestate.generators.yaml b/activestate.generators.yaml index 4096dbbb11..50b5c40a50 100644 --- a/activestate.generators.yaml +++ b/activestate.generators.yaml @@ -45,10 +45,10 @@ scripts: language: bash description: Generates all api clients value: | - $scripts.generate-api-client - $scripts.generate-secrets-client - $scripts.generate-headchef-client - $scripts.generate-inventory-client + $scripts.generate-api-client.path() + $scripts.generate-secrets-client.path() + $scripts.generate-headchef-client.path() + $scripts.generate-inventory-client.path() - name: generate-locale language: bash description: Detects new localisation calls and generates placeholder entries in en-us.yaml @@ -70,7 +70,7 @@ scripts: export GOARCH=${1:-amd64} $constants.SET_ENV - $scripts.generate-payload + $scripts.generate-payload.path() echo "# Create update dir" mkdir -p ./build/update diff --git a/activestate.yaml b/activestate.yaml index 2189c1e3d8..b8bcd048a7 100644 --- a/activestate.yaml +++ b/activestate.yaml @@ -295,7 +295,7 @@ scripts: language: bash description: Builds the State Tool and runs it with `--help` value: | - $scripts.build + $scripts.build.path() build/state --help - name: debug language: bash @@ -409,8 +409,8 @@ events: - name: activate if: ne .Shell "cmd" value: | - $scripts.install-deps-dev - $scripts.install-deps + $scripts.install-deps-dev.path() + $scripts.install-deps.path() - name: file-changed scope: ["internal/locale/locales"] value: build