Skip to content

Commit

Permalink
fix: rename master to main (#41)
Browse files Browse the repository at this point in the history
* fix: rename master to main

* ci: test against main instead of master
  • Loading branch information
jthegedus authored Jul 6, 2021
1 parent 54cbadf commit c2315a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
git log
test ! -d template/
grep "Apache" LICENSE
test "master" = "$(git rev-parse --abbrev-ref HEAD)"
test "main" = "$(git rev-parse --abbrev-ref HEAD)"
! git grep -F -e "<YOUR TOOL>" \
--or -e "<TOOL HOMEPAGE>" \
--or -e "<TOOL REPO>" \
Expand Down
4 changes: 2 additions & 2 deletions setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ setup_github() {
license_keyword="${7:-$(ask_license)}"
license_keyword="$(echo "$license_keyword" | tr '[:upper:]' '[:lower:]')"

primary_branch="master"
primary_branch="main"

cat <<-EOF
Setting up plugin: asdf-$tool_name
Expand Down Expand Up @@ -223,7 +223,7 @@ setup_gitlab() {
license_keyword="${7:-$(ask_license)}"
license_keyword="$(echo "$license_keyword" | tr '[:upper:]' '[:lower:]')"

primary_branch="master"
primary_branch="main"

cat <<-EOF
Setting up plugin: asdf-$tool_name
Expand Down

0 comments on commit c2315a0

Please sign in to comment.