-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove travis task to update version number in master in preperation …
…for stricter rules (#322)
- Loading branch information
Showing
3 changed files
with
2 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
# Automatic npm releasing | ||
|
||
When you create a release (and a tag is created) a Travis build will kick off and start building a npm bundle which will be deployed to npm. The task will also update the version value in the `package.json` on master automatically. | ||
When you create a release (and a tag is created) a Travis build will kick off and start building a npm bundle which will be deployed to npm. | ||
|
||
Currently the deploy to npm and git commits are deployed/pushed using API keys for Ben Meyrick's (`[email protected]`) GitHub account. If these need changing there are some prerequisites: | ||
Currently the deployment to npm is done using API keys for Ben Meyrick's (`[email protected]`) npm account. If these need changing there are some prerequisites: | ||
|
||
### npm account | ||
|
||
- You must be a collaborator on the @ons/design-system package | ||
- You may have 2FA enabled but only for authentication | ||
- The API token **must** be encrypted using the Travis CLI | ||
|
||
### GitHub account | ||
|
||
- You must be an administrator of the repository | ||
- The branch protection rules for `master` should be set to **not** apply to administrators, or Travis won't be able to update the package.json version with the latest tag |