Skip to content

Commit

Permalink
Improving Release process (#22)
Browse files Browse the repository at this point in the history
* Release process - switching to contexts environment variables

* Release process - Scoping package name to identity.com
  • Loading branch information
brunocarneiro authored Oct 26, 2018
1 parent e8b5af5 commit 4e1e793
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ workflows:
branches:
ignore: /.*/
- deploy:
context: Production
requires:
- build
filters:
Expand Down Expand Up @@ -61,7 +62,7 @@ jobs:
at: ~/repo
- run:
name: Authenticate with registry
command: echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > ~/repo/.npmrc
command: echo "//registry.npmjs.org/:_authToken=$IDENTITY_NPM_TOKEN" > ~/repo/.npmrc
- run:
name: Publish package
command: npm publish
command: npm publish --access=public
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "credential-commons-js",
"name": "@identity.com/credential-commons",
"version": "0.2.23",
"author": "Identity.com Community",
"license": "MIT",
Expand Down

0 comments on commit 4e1e793

Please sign in to comment.