Przeglądaj źródła

Master branch is main now

tags/site-v9.3.1
Guillaume Vincent 2 lat temu
rodzic
commit
0915820eb6
1 zmienionych plików z 4 dodań i 4 usunięć
  1. +4
    -4
      bin/build_web_site

+ 4
- 4
bin/build_web_site Wyświetl plik

@@ -32,11 +32,11 @@ function check_repository_is_clean {
fi
}

function check_branch_is_master {
function check_branch_is_main {
BRANCH_NAME=$(git branch | grep \* | cut -d ' ' -f2)
if [ $BRANCH_NAME != "master" ]
if [ $BRANCH_NAME != "main" ]
then
print_error "Current branch is not master. Aborting."
print_error "Current branch is not main. Aborting."
exit 1
fi
}
@@ -54,7 +54,7 @@ set +o errexit

bump_type="${1:-}"
check_bump_type_is_defined ${bump_type}
check_branch_is_master
check_branch_is_main
check_current_directory_is_root
check_repository_is_clean



Ładowanie…
Anuluj
Zapisz