You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of forgetting to publish manually, this should be enabled. Here's our GitFlow workflow:
Development occurs in the develop branch.
New Pull Requests must be to to be merged against this branch. However, Pull Requests will only be reviewed If the pull request can be merged and the tests passes. Also, the milestone must be set to the associated Issue.
After a new release has been planned, all the merged pull requests can be released.
On a new release, Tagging is added, the version is bumped in package.json and the Develop branch will be merged to Master, triggering the npm publish on Travis.
The text was updated successfully, but these errors were encountered:
This commit updates travis to properly make a new release upon a new
version of the applicaiton. Following the documentation at
http://docs.travis-ci.com/user/deployment/npm/, I did all the changes.
I first installed travis from Ruby Gems.
$ sudo gem install travis -v 1.8.0 --no-rdoc --no-ri -V
mdesales@ubuntu [07/18/2015 0:52:58] ~/dev/github/node-pom-parser
(master *) $ cat ~/.npmrc
//registry.npmjs.org/:_authToken=52****-****-***-***-*****cd9
mdesales@ubuntu [07/18/2015 0:53:19] ~/dev/github/node-pom-parser
(master *) $ travis encrypt --add deploy.api_key
Detected repository as marcellodesales/node-pom-parser, is this correct?
|yes| yes
Reading from stdin, press Ctrl+D when done
52****-****-***-***-*****cd9
From this, it completely updated the api value in the file
automatically. The only additional part added was about which branch it
should release from.
* modified: .travis.yml
- All the changes described above.
Travis supports CD capability.
http://docs.travis-ci.com/user/deployment/npm/
Instead of forgetting to publish manually, this should be enabled. Here's our GitFlow workflow:
develop
branch.package.json
and the Develop branch will be merged to Master, triggering the npm publish on Travis.The text was updated successfully, but these errors were encountered: