Skip to content

Commit 483b2cf

Browse files
committed
Point Travis badge at the correct main branch
1 parent b4c9fe0 commit 483b2cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

travisify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ EOL
195195
update README.md 'Travis: fix README.md badge link'
196196
else
197197
info "Adding Travis badge to README.md"
198-
echo "[![](https://$domain/$repoSlug.svg?branch=master)](https://$domain/$repoSlug)" >"$tmpFile"
198+
echo "[![](https://$domain/$repoSlug.svg?branch=$defaultBranch)](https://$domain/$repoSlug)" >"$tmpFile"
199199
echo >>"$tmpFile"
200200
test -f README.md && cat README.md >>"$tmpFile"
201201
update README.md 'Travis: add badge to README.md'

0 commit comments

Comments
 (0)