diff --git a/README.md b/README.md index 3fb6fed5..8d277e83 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The package is a wrapper around [Cookie Consent] by [Orest Bida]. Load the script and initialize the plugin right before ending `` tag: ```html - + + ``` Alternatively, you can also download the latest version from the [Releases page](https://github.com/lmc-eu/cookie-consent-manager/releases). diff --git a/scripts/readme-replace-version.js b/scripts/readme-replace-version.js index a1192f13..8957802e 100644 --- a/scripts/readme-replace-version.js +++ b/scripts/readme-replace-version.js @@ -2,8 +2,8 @@ const replace = require('replace-in-file'); const packageJson = require('../package.json'); const options = { files: 'README.md', - from: /cookie-consent-manager@v([0-9]\.[0-9]\.[0-9])/gm, - to: `cookie-consent-manager@v${packageJson.version}`, + from: /cookie-consent-manager@([0-9]\.[0-9]\.[0-9])/gm, + to: `cookie-consent-manager@${packageJson.version}`, }; replace(options)