Skip to content

Commit

Permalink
feat: Support coveralls shields.io badge
Browse files Browse the repository at this point in the history
  • Loading branch information
Alorel committed Aug 9, 2018
1 parent 1485f32 commit b9e2e44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/prepare/setReadmeVersions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ export async function setReadmeVersions(_cfg: Conf, ctx: Context): Promise<void>
[
/img\.shields\.io\/travis(\/com)?\/([a-z0-9-_.]+)\/([a-z0-9-_.]+)\/([a-z0-9-_.]+)\.([a-z]{2,4})/ig,
'img.shields.io/travis$1/$2/$3/my-branch.$5'
],
[
/img\.shields\.io\/coveralls\/github\/([a-z0-9-_.]+)\/([a-z0-9-_.]+)\/([a-z0-9-_.]+)\.([a-z]{2,4})/ig,
'img.shields.io/coveralls/github/$1/$2/my-branch.$4'
]
];

Expand Down

0 comments on commit b9e2e44

Please sign in to comment.