Skip to content

Commit

Permalink
fix(build): main migration (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Compton authored Feb 10, 2021
1 parent 8afabb6 commit 903dbae
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ deploy:
script: npx semantic-release
skip_cleanup: true
on:
branch: master
branch: main
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ If you want to contribute to the repository, here's a quick guide:
9. Commit your changes:
* Commit messages should follow the Angular commit message guidelines as mentioned above.

10. Push your commit(s) to your fork and submit a pull request to the **master** branch.
10. Push your commit(s) to your fork and submit a pull request to the **main** branch.

# Developer's Certificate of Origin 1.1

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[![Build Status](https://travis-ci.com/IBM/go-sdk-core.svg?branch=master)](https://travis-ci.com/IBM/go-sdk-core)
[![Build Status](https://travis-ci.com/IBM/go-sdk-core.svg?branch=main)](https://travis-ci.com/IBM/go-sdk-core)
[![Release](https://img.shields.io/github/v/release/IBM/go-sdk-core)](https://github.com/IBM/go-sdk-core/releases/latest)
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/IBM/go-sdk-core?filename=v5/go.mod)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![codecov](https://codecov.io/gh/IBM/go-sdk-core/branch/master/graph/badge.svg)](https://codecov.io/gh/IBM/go-sdk-core)
[![codecov](https://codecov.io/gh/IBM/go-sdk-core/branch/main/graph/badge.svg)](https://codecov.io/gh/IBM/go-sdk-core)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![CLA assistant](https://cla-assistant.io/readme/badge/ibm/go-sdk-core)](https://cla-assistant.io/ibm/go-sdk-core)

Expand Down
4 changes: 2 additions & 2 deletions build/publishCodeCoverage.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# This script will publish code coverage info for a build of the master branch
# This script will publish code coverage info for a build of the main branch
# or a tagged release.

if [[ -n "${TRAVIS_TAG}" || "${TRAVIS_BRANCH}" == "master" && "${TRAVIS_PULL_REQUEST}" == "false" ]]; then
if [[ -n "${TRAVIS_TAG}" || "${TRAVIS_BRANCH}" == "main" && "${TRAVIS_PULL_REQUEST}" == "false" ]]; then
printf ">>>>> Publishing code coverage info for branch: %s\n" ${TRAVIS_BRANCH}
$HOME/codecov-bash.sh -f v5/coverage.txt -t $CODECOV_TOKEN
else
Expand Down
2 changes: 1 addition & 1 deletion v5/core/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The authentication types that are appropriate for a particular service may
vary from service to service. Each authentication type is implemented as an
Authenticator for consumption by a service. To read more about authenticators
and how to use them see here:
https://github.com/IBM/go-sdk-core/blob/master/Authentication.md
https://github.com/IBM/go-sdk-core/blob/main/Authentication.md
Services
Expand Down

0 comments on commit 903dbae

Please sign in to comment.