From 4e71b1a734190db68e2a087b08ab264a681f9a9b Mon Sep 17 00:00:00 2001 From: josdejong Date: Fri, 31 Jan 2014 16:11:13 +0100 Subject: [PATCH] Updated version number to 0.5.0-SNAPSHOT --- bower.json | 2 +- misc/how_to_publish.md | 16 +++++++++++++++- package.json | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/bower.json b/bower.json index ffe9611a..9ccabd0a 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "vis", - "version": "0.4.0", + "version": "0.5.0-SNAPSHOT", "description": "A dynamic, browser-based visualization library.", "homepage": "http://visjs.org/", "repository": { diff --git a/misc/how_to_publish.md b/misc/how_to_publish.md index ee998a51..3b7557da 100644 --- a/misc/how_to_publish.md +++ b/misc/how_to_publish.md @@ -49,13 +49,25 @@ This generates the vis.js library in the folder `./dist`. Verify if it installs the just released version, and verify if it works. - - Install the libarry via bower: + - Install the library via bower: bower install vis Verify if it installs the just released version, and verify if it works. +- Publish the library at cdnjs.org + - clone the cdnjs project + - pull changes: `git pull upstream` + - add the new version of the library under /ajax/libs/vis/ + - add new folder /x.y.z/ with the new library + - update the version number in package.json + - test the library by running `npm test` + - then do a pull request with as title "[author] Update vis.js to x.y.z" + (with correct version). + + + ## Update website - Copy the `dist` folder from the `master` branch to the `github-pages` branch. @@ -72,6 +84,8 @@ This generates the vis.js library in the folder `./dist`. node updateversion.js +- Commit the changes in the `gh-pages` branch. + ## Prepare next version diff --git a/package.json b/package.json index 2b969e87..73365fad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vis", - "version": "0.4.0", + "version": "0.5.0-SNAPSHOT", "description": "A dynamic, browser-based visualization library.", "homepage": "http://visjs.org/", "repository": {