Skip to content

Commit 5c878a9

Browse files
committed
Fix generate-authors script for local run
Unuse CI environment variable to detect git root directory.
1 parent a7925c7 commit 5c878a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/generate-authors.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SCRIPT_PATH=$(
77
pwd -P
88
)
99
if [ -z "${AUTHORS_PATH}" ]; then
10-
AUTHORS_PATH="$GITHUB_WORKSPACE/AUTHORS.txt"
10+
AUTHORS_PATH="$(git rev-parse --show-toplevel)/AUTHORS.txt"
1111
fi
1212

1313
if [ -f ${SCRIPT_PATH}/.ci.conf ]; then

0 commit comments

Comments
 (0)