Skip to content

Commit aa0b833

Browse files
committed
ENH: Transition cookiecutter default branch name to main
Transition cookiecutter default branch name to `main`.
1 parent b719fcd commit aa0b833

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

{{cookiecutter.project_name}}/.github/workflows/build-test-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ jobs:
8383
file(TO_CMAKE_PATH "\$ENV{GITHUB_WORKSPACE}/" CTEST_SOURCE_DIRECTORY)
8484
file(TO_CMAKE_PATH "\$ENV{GITHUB_WORKSPACE}/../build" CTEST_BINARY_DIRECTORY)
8585
set(dashboard_source_name "${GITHUB_REPOSITORY}")
86-
if(ENV{GITHUB_REF} MATCHES "master")
87-
set(branch "-master")
86+
if(ENV{GITHUB_REF} MATCHES "main")
87+
set(branch "-main")
8888
set(dashboard_model "Continuous")
8989
else()
9090
set(branch "-${GITHUB_REF}")

{{cookiecutter.project_name}}/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
:alt: PyPI Version
1010

1111
.. image:: https://img.shields.io/badge/License-Apache%202.0-blue.svg
12-
:target: {{ cookiecutter.download_url }}/blob/master/LICENSE
12+
:target: {{ cookiecutter.download_url }}/blob/main/LICENSE
1313
:alt: License
1414

1515
Overview

0 commit comments

Comments
 (0)