Update release process to include a build step!

See #149
This commit is contained in:
Colin Eberhardt
2015-11-12 11:52:07 +00:00
parent 4364c6ebb2
commit 99c3a88df4
2 changed files with 5 additions and 3 deletions

5
dist/README.md vendored
View File

@@ -6,6 +6,9 @@ Releases can be found on [npm](https://www.npmjs.com/package/css-layout).
# Ensure that the local codebase is up to date
git fetch upstream master && git checkout FETCH_HEAD
# build the latest version of the library
grunt
# increment the version number and tag the release
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease]
@@ -14,4 +17,4 @@ git push --tags upstream HEAD:master
# publish this new version to npm
npm publish
```
```

View File

@@ -5,8 +5,7 @@
"main": "dist/css-layout.js",
"scripts": {
"watch": "grunt watch",
"test": "grunt ci",
"postversion": "git push --tags upstream HEAD:master"
"test": "grunt ci"
},
"repository": {
"type": "git",