We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b23f214 commit c0fb441Copy full SHA for c0fb441
.github/scripts/update-tfdocs.sh
@@ -13,8 +13,8 @@ set -o pipefail
13
14
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
15
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."
+if [ -z "${CURRENT_BRANCH}" ] || [ "${CURRENT_BRANCH}" != "main" ]; then
+ echo "Error: The current branch is '${CURRENT_BRANCH}', switch to 'main' to do the release."
18
exit 1
19
fi
20
0 commit comments