Skip to content

Commit 1ff2fda

Browse files
Document the release steps and mark the 1.5.0 development iteration
1 parent e2ae3b6 commit 1ff2fda

6 files changed

Lines changed: 22 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
HEAD
22
-----
33

4+
1.5.0-pre
5+
-----
6+
- Make jquery as an optional dependency
7+
- Create a new api for handling cookies without jquery
8+
- Added support for returning the new api in CommonJS environments
9+
410
1.4.1
511
-----
612
- Added support for CommonJS.

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,18 @@ You can pass an arbitrary conversion function.
161161

162162
Check out the [Contributing Guidelines](CONTRIBUTING.md)
163163

164+
## Manual release steps
165+
166+
* Remove the "-pre" suffix of the "version" attribute of `bower.json`, `package.json` and `component.json`
167+
* Remove the "-pre" suffix of the version number in the `CHANGELOG.md` and `src/js.cookie.js` files
168+
* Commit with the message "Release version x.x.x"
169+
* Create version tag in git
170+
* Create a github release and upload the minified file
171+
* Release on npm
172+
* Increment and add the "-pre" suffix to the "version" attribute of `bower.json`, `package.json` and `component.json`
173+
* Increment and add the "-pre" suffix to the version number in the `CHANGELOG.md` and `src/js.cookie.js` files
174+
* Commit with the message "Prepare for the next development iteration"
175+
164176
## Authors
165177

166178
[Klaus Hartl](https://github.com/carhartl)

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "js.cookie",
3-
"version": "1.4.1",
3+
"version": "1.5.0-pre",
44
"main": [
55
"src/js.cookie.js"
66
],

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "js.cookie",
33
"repo": "js-cookie/js-cookie",
44
"description": "A simple, lightweight javascript API for handling cookies",
5-
"version": "1.4.1",
5+
"version": "1.5.0-pre",
66
"keywords": [],
77
"dependencies": {},
88
"development": {},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "js.cookie",
3-
"version": "1.4.1",
3+
"version": "1.5.0-pre",
44
"description": "A simple, lightweight javascript API for handling cookies",
55
"main": "src/js.cookie.js",
66
"directories": {

src/js.cookie.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Javascript Cookie v1.4.1
2+
* Javascript Cookie v1.5.0-pre
33
* https://github.com/js-cookie/js-cookie
44
*
55
* Copyright 2006, 2014 Klaus Hartl

0 commit comments

Comments
 (0)