Skip to content

Commit

Permalink
ci: update scripts to main branch
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Pillon <[email protected]>
  • Loading branch information
fpistm committed Oct 5, 2021
1 parent cd39620 commit 6479b8a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CI/astyle/astyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
ignore_path = os.path.join(script_path, ignore_filename)
def_path = os.path.join(script_path, def_filename)
astyle_out_path = astyle_out_filename
git_branch = "remotes/origin/master"
git_branch = "remotes/origin/main"

astyle_major = 3
astyle_minor = 1
Expand Down
2 changes: 1 addition & 1 deletion CI/build/arduino-cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
path_config_filename = os.path.join(script_path, "path_config.json")

arduino_cli_path = ""
stm32_url = "https://github.com/stm32duino/BoardManagerFiles/raw/master/package_stmicroelectronics_index.json"
stm32_url = "https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json"
sketches_path_list = []
default_build_output_dir = os.path.join(tempdir, "build_arduinoCliOutput")
build_output_dir = os.path.join(tempdir, "build_arduinoCliOutput" + build_id)
Expand Down
2 changes: 1 addition & 1 deletion CI/utils/fqbn.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
fqbn_list = []
arduino_cli = ""
arduino_cli_path = ""
stm32_url = "https://github.com/stm32duino/BoardManagerFiles/raw/master/package_stmicroelectronics_index.json"
stm32_url = "https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json"
arduino_platform = "STMicroelectronics:stm32"

# Parser
Expand Down
2 changes: 1 addition & 1 deletion CI/utils/stm32variant.py
Original file line number Diff line number Diff line change
Expand Up @@ -2158,7 +2158,7 @@ def manage_repo():
git_cmds = [
["git", "-C", repo_path, "clean", "-fdx"],
["git", "-C", repo_path, "fetch"],
["git", "-C", repo_path, "reset", "--hard", "origin/master"],
["git", "-C", repo_path, "reset", "--hard", "origin/main"],
]
else:
# Clone it as it does not exists yet
Expand Down

0 comments on commit 6479b8a

Please sign in to comment.