Skip to content

Commit 6479b8a

Browse files
committed
ci: update scripts to main branch
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent cd39620 commit 6479b8a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CI/astyle/astyle.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
ignore_path = os.path.join(script_path, ignore_filename)
2525
def_path = os.path.join(script_path, def_filename)
2626
astyle_out_path = astyle_out_filename
27-
git_branch = "remotes/origin/master"
27+
git_branch = "remotes/origin/main"
2828

2929
astyle_major = 3
3030
astyle_minor = 1

CI/build/arduino-cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
path_config_filename = os.path.join(script_path, "path_config.json")
2626

2727
arduino_cli_path = ""
28-
stm32_url = "https://github.com/stm32duino/BoardManagerFiles/raw/master/package_stmicroelectronics_index.json"
28+
stm32_url = "https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json"
2929
sketches_path_list = []
3030
default_build_output_dir = os.path.join(tempdir, "build_arduinoCliOutput")
3131
build_output_dir = os.path.join(tempdir, "build_arduinoCliOutput" + build_id)

CI/utils/fqbn.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
fqbn_list = []
1111
arduino_cli = ""
1212
arduino_cli_path = ""
13-
stm32_url = "https://github.com/stm32duino/BoardManagerFiles/raw/master/package_stmicroelectronics_index.json"
13+
stm32_url = "https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json"
1414
arduino_platform = "STMicroelectronics:stm32"
1515

1616
# Parser

CI/utils/stm32variant.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2158,7 +2158,7 @@ def manage_repo():
21582158
git_cmds = [
21592159
["git", "-C", repo_path, "clean", "-fdx"],
21602160
["git", "-C", repo_path, "fetch"],
2161-
["git", "-C", repo_path, "reset", "--hard", "origin/master"],
2161+
["git", "-C", repo_path, "reset", "--hard", "origin/main"],
21622162
]
21632163
else:
21642164
# Clone it as it does not exists yet

0 commit comments

Comments
 (0)