Updated the release process
Trying base64 encoded npm credentials
This commit is contained in:
@@ -16,7 +16,7 @@ deploy:
|
|||||||
provider: npm
|
provider: npm
|
||||||
email: ceberhardt@scottlogic.com
|
email: ceberhardt@scottlogic.com
|
||||||
api_key:
|
api_key:
|
||||||
secure: Vc9fsS/InXhvF8b3OIK5iTCRRB4ajUP73E5ObLiFYskVTCb5tLbl8rdYElV/uE2LF3Dw3SE9OyAARFPtkbUcmJ3A6YibEx5eKlPjWJZ8P0Pe85ap9XjopZzHzqpu+8kvZIPIQKUyisrD6RCRQdudT2uZKg2jvyvRwjnNVlVye4M=
|
secure: "KTmVyw8YdArB5xWgNbkeZ9JD1jAKh/uMjWJdjjDfTBxKVarFfyP5+899C+qZJ8f7cAfiHZKwNE5nCjfU6uuFjYc7gMFr/ezm1KZc1DXM51V6B9TnIwLxNBr5ZYwcW7H725iYpQMwXX9rC/W4U8mahMKo8m7L0DQGUWEoYuGkKd8="
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
branch: master
|
branch: master
|
12
dist/README.md
vendored
Normal file
12
dist/README.md
vendored
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Releases can be found on [npm](https://www.npmjs.com/package/dss-layout).
|
||||||
|
|
||||||
|
#Release Process
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Ensure that the local codebase is up to date
|
||||||
|
git fetch upstream master && git checkout FETCH_HEAD
|
||||||
|
|
||||||
|
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.
|
@@ -4,7 +4,8 @@
|
|||||||
"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": {
|
||||||
"test": "grunt ci"
|
"test": "grunt ci",
|
||||||
|
"postversion": "git push --tags upstream HEAD:master"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Reference in New Issue
Block a user