Skip to content

Commit

Permalink
fix(build): main migration (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Compton authored Feb 10, 2021
1 parent 629c218 commit 1919510
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ deploy:
script: npx semantic-release
on:
node: 12
repo: IBM/node-sdk-core
branch: main
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion scripts/jsdoc/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1919510

Please sign in to comment.