Skip to content

Commit 44f4f3b

Browse files
committed
fix issue.
1 parent 6fcbc08 commit 44f4f3b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/scripts/create-github-release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ VERSION="$1"
1616
VERSION_NO_V=${VERSION#v}
1717

1818
# Source centralized agent configuration
19-
source "./agent-config.sh"
19+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
20+
source "$SCRIPT_DIR/agent-config.sh"
2021

2122
# Dynamically build release asset list
2223
RELEASE_ASSETS=()

.github/workflows/scripts/create-release-packages.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ build_variant() {
162162
}
163163

164164
# Source centralized agent configuration
165-
source "./agent-config.sh"
165+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
166+
source "$SCRIPT_DIR/agent-config.sh"
166167

167168
ALL_SCRIPTS=(sh ps)
168169

0 commit comments

Comments
 (0)