Skip to content

Automates NPM publication #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ before_script:
script:
- gulp

deploy:
provider: npm
email: "[email protected]"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've just set up [email protected] as an email group that we can use for stuff like this, so that no one becomes a single point of failure.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nateabele If we use [email protected], that email will also need to have a Github account, an NPM account, and an NPM API key. Regarding, npm publish, no one person can become a single point of failure so long as multiple contributors are listed in package.json and on the npmjs.com website. Regarding automated Travis publication, my credentials could become a point of failure if I changed by NPM API key, but even that could be fixed with a simple change of the .travis.yml. Should we go ahead & switch to [email protected]? Additionally, I'm looking into NPM Organizations, which seems to be a new thing:tm:, and might solve problems like this for us.

api_key:
secure: "KP2ktSoNArc01Fvt9/4feIggTA8UxbnH64zMBPiQcKTMlkNCqwDOeeMA+os/fb7Yz1yZ9pRSM+MoUcphav3ykLTN+PqMiQ7BUpo9HMh58zH9SxvtP3LAn1hQOO3tarBfiVb8flrloyrXxrhKPXkYJckTPoJF/fx8ZzId0qMHbj4WhVx1Y1pGZdtqbEb8EJfHIs69e4AZLK3P2KA41omPyH+jhEbbC9MozKX0Z23SwmJQHqgUEipbYG0bAILD/A+j4C7LgHvh8wuqLu1XZfWkozJjNGqqOjcb1M6yaB90NzbBLhXDXjwHA+Fke5IaCfNY4F6FSqtYcgPf2BWQ0S4Pp9BvtD4e/qmDP7XYqiMIeGBuy/t8qT/rg3WX/nScCfSocDH1/+/5Zd78jdUYeFwVguPvihgfNFxNflCxg1Kzq09CuzvjAx/oc7PFm2GeDwq204+VFdQsOBSPJwEmlbSfozbRRtlSYQ4yPeA5Yw3o97V0kd7ZIG3r4GcyuMsSpMgfXv7GBNI4y5DDefnfJU0iLNiWJ21WatiUNLTxM1PRFfuMy05I22rwjYY5YQMEAi42/yQKhDABLk7rXjgpo7OML15ppxBswX8chV5ltGy+vKmtCAr7MCHo6PnK/Pj0g6aXYSwjnZhG391hZhJkn0LNLJzpD592na6zJEHYjpcf/VU="
on:
tags: true
branch: master

addons:
code_climate:
repo_token:
Expand Down
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [0.6.1] - 2015-11-25
### Added
- Automates NPM publication

## [0.6.0] - 2015-11-19
### Added
- Significantly increases documentation
Expand Down Expand Up @@ -49,6 +55,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Added
- CHANGELOG

[Unreleased]: https://github.com/radify/angular-model/compare/v0.5.0...HEAD
[0.5.0]: https://github.com/radify/angular-model/compare/v0.4.1...v0.5.0
[0.4.1]: https://github.com/radify/angular-model/compare/v0.4.0...v0.4.1
[Unreleased]: https://github.com/radify/angular-model/compare/0.6.1...HEAD
[0.6.1]: https://github.com/radify/angular-model/compare/0.6.0...0.6.1
[0.6.0]: https://github.com/radify/angular-model/compare/0.5.0...0.6.0
[0.5.0]: https://github.com/radify/angular-model/compare/0.4.1...0.5.0
[0.4.1]: https://github.com/radify/angular-model/compare/0.4...0.4.1
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-model",
"description": "Simple HATEOS-oriented persistence module for AngularJS.",
"version": "0.6.0",
"version": "0.6.1",
"license": "BSD-3-Clause",
"maintainers": [
{
Expand Down