Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
68d45b4b9a | ||
|
99f44302fe | ||
|
1e9a212799 | ||
|
ca5490bdc5 |
10
.travis.yml
10
.travis.yml
@@ -11,12 +11,4 @@ addons:
|
|||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- gcc
|
- gcc
|
||||||
|
|
||||||
deploy:
|
|
||||||
provider: npm
|
|
||||||
email: ceberhardt@scottlogic.com
|
|
||||||
api_key:
|
|
||||||
secure: "KTmVyw8YdArB5xWgNbkeZ9JD1jAKh/uMjWJdjjDfTBxKVarFfyP5+899C+qZJ8f7cAfiHZKwNE5nCjfU6uuFjYc7gMFr/ezm1KZc1DXM51V6B9TnIwLxNBr5ZYwcW7H725iYpQMwXX9rC/W4U8mahMKo8m7L0DQGUWEoYuGkKd8="
|
|
||||||
on:
|
|
||||||
tags: true
|
|
||||||
branch: master
|
|
11
dist/README.md
vendored
11
dist/README.md
vendored
@@ -1,4 +1,4 @@
|
|||||||
Releases can be found on [npm](https://www.npmjs.com/package/dss-layout).
|
Releases can be found on [npm](https://www.npmjs.com/package/css-layout).
|
||||||
|
|
||||||
#Release Process
|
#Release Process
|
||||||
|
|
||||||
@@ -6,7 +6,12 @@ Releases can be found on [npm](https://www.npmjs.com/package/dss-layout).
|
|||||||
# Ensure that the local codebase is up to date
|
# Ensure that the local codebase is up to date
|
||||||
git fetch upstream master && git checkout FETCH_HEAD
|
git fetch upstream master && git checkout FETCH_HEAD
|
||||||
|
|
||||||
|
# increment the version number and tag the release
|
||||||
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease]
|
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease]
|
||||||
```
|
|
||||||
|
|
||||||
This will take care of getting the latest version of `upstream/master`, updating the package.json, committing, tagging and pushing back to `upstream/master`. Travis will then take care of building the packages and pushing to npm.
|
# push the the commit and tag back to upstream
|
||||||
|
git push --tags upstream HEAD:master
|
||||||
|
|
||||||
|
# publish this new version to npm
|
||||||
|
npm publish
|
||||||
|
```
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "css-layout",
|
"name": "css-layout",
|
||||||
"version": "0.0.4",
|
"version": "0.0.6",
|
||||||
"description": "Reimplementation of CSS layout using pure JavaScript",
|
"description": "Reimplementation of CSS layout using pure JavaScript",
|
||||||
"main": "dist/css-layout.js",
|
"main": "dist/css-layout.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Reference in New Issue
Block a user