Giving up on travis!
OK, Travis you have defeated me! reverting to a more manual release process
This commit is contained in:
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: "Dk69FV717n91CRMv0UqzqZG6mrd4dSwd2PJDf1Fe0GOVPrVG9pmSTUmsk7JGli7EB57ovPGRhE/lcDGnlE+hEVw5DjZhGUUmZIFGg+FdcVomoiTRUYjRLwRUKEVxYw1TGCjJHm4rEx4qdkghahjf1YRYnivOn7ADhdH5THr7uQE="
|
|
||||||
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
|
||||||
|
```
|
Reference in New Issue
Block a user