diff --git a/README.md b/README.md index 412b56592..2af9f9397 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ The official low-level Elasticsearch client for Node.js and the browser. -[![Build Status](http://img.shields.io/travis/elastic/elasticsearch-js/2.4.svg?style=flat-square)](https://travis-ci.org/elastic/elasticsearch-js?branch=4.0) -[![Coverage Status](http://img.shields.io/coveralls/elastic/elasticsearch-js/2.4.svg?style=flat-square)](https://coveralls.io/r/elastic/elasticsearch-js?branch=4.0) +[![Build Status](http://img.shields.io/travis/elastic/elasticsearch-js/4.0.svg?style=flat-square)](https://travis-ci.org/elastic/elasticsearch-js?branch=4.0) +[![Coverage Status](http://img.shields.io/coveralls/elastic/elasticsearch-js/4.0.svg?style=flat-square)](https://coveralls.io/r/elastic/elasticsearch-js?branch=4.0) [![Dependencies up to date](http://img.shields.io/david/elastic/elasticsearch-js.svg?style=flat-square)](https://david-dm.org/elastic/elasticsearch-js) ## Features diff --git a/grunt/tasks.js b/grunt/tasks.js index 54e903097..5886fdd45 100644 --- a/grunt/tasks.js +++ b/grunt/tasks.js @@ -59,7 +59,15 @@ module.exports = function (grunt) { pkg.version = next; browserBuilds = utils.replaceAll(browserBuilds, current, next); + readme = utils.replaceAll(readme, current, next); + + readme = utils.replaceAll( + readme, + '/' + utils.minorVersion(current) + '.svg', + '/' + utils.minorVersion(next) + '.svg' + ); + readme = utils.replaceAll( readme, 'branch=' + utils.minorVersion(current), diff --git a/package.json b/package.json index be9f3709d..e6b890c49 100644 --- a/package.json +++ b/package.json @@ -98,4 +98,4 @@ "node": ">=0.8 <=0.12", "iojs": ">=1.5" } -} +} \ No newline at end of file