Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

docs: include the released version in the npm badge alt text (#5959)

Mostafa Nazaride924bab471e
diff --git a/.github/release-please/config.json b/.github/release-please/config.json
index 0c9ae4bf..b29a6d47 100644
--- a/.github/release-please/config.json
+++ b/.github/release-please/config.json
@@ -20,6 +20,8 @@
{ "type": "ci", "section": "🤖 Automation", "hidden": true }
],
"packages": {
- ".": {}
+ ".": {
+ "extra-files": ["README.md"]
+ }
}
}
diff --git a/README.md b/README.md
index 844535c6..6fd15501 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
<div align="center">
-<a href="https://www.npmjs.com/package/mocha"><img src="https://img.shields.io/npm/v/mocha.svg" alt="NPM Version"></a>
+<a href="https://www.npmjs.com/package/mocha"><img src="https://img.shields.io/npm/v/mocha.svg" alt="npm version 12.0.0-beta-9.3"></a> <!-- x-release-please-version -->
<a href="https://github.com/mochajs/mocha"><img src="https://img.shields.io/node/v/mocha.svg" alt="Node Version"></a>
[![GitHub Actions Build Status](https://github.com/mochajs/mocha/actions/workflows/mocha.yml/badge.svg)](https://github.com/mochajs/mocha/actions/workflows/mocha.yml)
<a href="https://codecov.io/gh/mochajs/mocha"><img src="https://codecov.io/gh/mochajs/mocha/branch/main/graph/badge.svg" alt="Codecov Coverage Status"></a>