Skip to content

Commit

Permalink
Fix Travis badge in README. Automatically distribute root README befo…
Browse files Browse the repository at this point in the history
…re publishing.

Signed-off-by: Attila Klenik <[email protected]>
  • Loading branch information
aklenik committed Feb 19, 2020
1 parent fcca81e commit 91483fe
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 442 deletions.
10 changes: 10 additions & 0 deletions .travis/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@
# Exit on first error
set -e

# distribute root README file before publishing
cp ./README.md ./packages/caliper-burrow/README.md
cp ./README.md ./packages/caliper-cli/README.md
cp ./README.md ./packages/caliper-core/README.md
cp ./README.md ./packages/caliper-ethereum/README.md
cp ./README.md ./packages/caliper-fabric/README.md
cp ./README.md ./packages/caliper-fisco-bcos/README.md
cp ./README.md ./packages/caliper-iroha/README.md
cp ./README.md ./packages/caliper-sawtooth/README.md

cd ./packages/caliper-publish/
npm i
./publish.js npm
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ![Hyperledger Caliper](https://wiki.hyperledger.org/download/attachments/2392434/Hyperledger_Caliper_Logo_Color.svg?version=1&modificationDate=1548883186000&api=v2)

[![Build Status](https://travis-ci.org/hyperledger/caliper.svg?branch=master)](https://travis-ci.org/hyperledger/caliper)
[![Build Status](https://travis-ci.com/hyperledger/caliper.svg?branch=master)](https://travis-ci.com/hyperledger/caliper)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/2381/badge)](https://bestpractices.coreinfrastructure.org/projects/2381)
[![license](https://img.shields.io/badge/license-Apache%202.0-blue)](https://github.com/aklenik/caliper/blob/master/LICENSE)
[![node (scoped)](https://img.shields.io/node/v/@hyperledger/caliper-cli)](https://www.npmjs.com/package/@hyperledger/caliper-cli)
Expand Down
55 changes: 0 additions & 55 deletions packages/caliper-burrow/README.md

This file was deleted.

55 changes: 0 additions & 55 deletions packages/caliper-cli/README.md

This file was deleted.

55 changes: 0 additions & 55 deletions packages/caliper-core/README.md

This file was deleted.

55 changes: 0 additions & 55 deletions packages/caliper-ethereum/README.md

This file was deleted.

Loading

0 comments on commit 91483fe

Please sign in to comment.