From 99f44302fe44eb7e4309255d1287e4a39fbfd6fe Mon Sep 17 00:00:00 2001 From: Colin Eberhardt Date: Fri, 21 Aug 2015 11:04:46 +0100 Subject: [PATCH] Giving up on travis! OK, Travis you have defeated me! reverting to a more manual release process --- .travis.yml | 10 +--------- dist/README.md | 11 ++++++++--- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 695e4f2e..0d21e1df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,12 +11,4 @@ addons: apt: packages: - gcc - -deploy: - provider: npm - email: ceberhardt@scottlogic.com - api_key: - secure: "Dk69FV717n91CRMv0UqzqZG6mrd4dSwd2PJDf1Fe0GOVPrVG9pmSTUmsk7JGli7EB57ovPGRhE/lcDGnlE+hEVw5DjZhGUUmZIFGg+FdcVomoiTRUYjRLwRUKEVxYw1TGCjJHm4rEx4qdkghahjf1YRYnivOn7ADhdH5THr7uQE=" - on: - tags: true - branch: master \ No newline at end of file + \ No newline at end of file diff --git a/dist/README.md b/dist/README.md index 520d2d67..55c0151b 100644 --- a/dist/README.md +++ b/dist/README.md @@ -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 @@ -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 git fetch upstream master && git checkout FETCH_HEAD +# increment the version number and tag the release npm version [ | 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 +``` \ No newline at end of file