Skip to content

Commit c0fb441

Browse files
committed
ci: fix update-tf-docs script
Signed-off-by: Khosrow <khos2ow@gmail.com>
1 parent b23f214 commit c0fb441

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/update-tfdocs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ set -o pipefail
1313

1414
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
1515

16-
if [ -z "${CURRENT_BRANCH}" ] || [ "${CURRENT_BRANCH}" != "master" ]; then
17-
echo "Error: The current branch is '${CURRENT_BRANCH}', switch to 'master' to do the release."
16+
if [ -z "${CURRENT_BRANCH}" ] || [ "${CURRENT_BRANCH}" != "main" ]; then
17+
echo "Error: The current branch is '${CURRENT_BRANCH}', switch to 'main' to do the release."
1818
exit 1
1919
fi
2020

0 commit comments

Comments
 (0)