diff --git a/.releaserc b/.releaserc index 8aa5f93ad..67de47377 100644 --- a/.releaserc +++ b/.releaserc @@ -1,5 +1,5 @@ { - "branches": "master", + "branches": "main", "verifyConditions": ["@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/git"], "prepare": ["@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/git"], "publish": [ diff --git a/.travis.yml b/.travis.yml index c1e6e4866..3f0b63310 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,4 +19,4 @@ deploy: script: npx semantic-release on: node: 12 - repo: IBM/node-sdk-core + branch: main diff --git a/README.md b/README.md index b2aa5152c..ce4a44b61 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -[![Build Status](https://travis-ci.com/IBM/node-sdk-core.svg?branch=master)](https://travis-ci.com/IBM/node-sdk-core) +[![Build Status](https://travis-ci.com/IBM/node-sdk-core.svg?branch=main)](https://travis-ci.com/IBM/node-sdk-core) [![npm-version](https://img.shields.io/npm/v/ibm-cloud-sdk-core.svg)](https://www.npmjs.com/package/ibm-cloud-sdk-core) -[![codecov](https://codecov.io/gh/IBM/node-sdk-core/branch/master/graph/badge.svg)](https://codecov.io/gh/IBM/node-sdk-core) +[![codecov](https://codecov.io/gh/IBM/node-sdk-core/branch/main/graph/badge.svg)](https://codecov.io/gh/IBM/node-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/node-sdk-core)](https://cla-assistant.io/ibm/node-sdk-core) diff --git a/scripts/jsdoc/publish.sh b/scripts/jsdoc/publish.sh index 04946d896..9a5fb7a22 100755 --- a/scripts/jsdoc/publish.sh +++ b/scripts/jsdoc/publish.sh @@ -14,7 +14,7 @@ if [ "$TRAVIS_REPO_SLUG" == "IBM/node-sdk-core" ] && [ "$TRAVIS_PULL_REQUEST" == pushd gh-pages # make a directory named after the branch/tag for the current build, replacing the previous one if present - # on tagged builds, $TRAVIS_BRANCH is the tag (e.g. v1.2.3), otherwise it's the branch name (e.g. master) + # on tagged builds, $TRAVIS_BRANCH is the tag (e.g. v1.2.3), otherwise it's the branch name (e.g. main) rm -rf $TRAVIS_BRANCH mkdir $TRAVIS_BRANCH cp -Rf ../doc/. ./$TRAVIS_BRANCH