This repository has been archived by the owner on Aug 24, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renames repository and resolve publish ci task (#2)
- Loading branch information
Showing
6 changed files
with
19 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,18 +13,22 @@ jobs: | |
|
||
deploy: | ||
docker: | ||
- image: circleci/node:9.2 | ||
- image: circleci/node:8.6 | ||
steps: | ||
- checkout | ||
- run: yarn install | ||
- run: yarn bootstrap | ||
- run: yarn run build | ||
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc | ||
- run: yarn run publish | ||
- run: git add -A | ||
- run: git commit -a -m "Bump to version $(git describe --tag)" | ||
- run: git config --global user.email "[email protected]" | ||
- run: git config --global user.name "ORY Continuous Integration" | ||
- run: | | ||
echo "registry=https://registry.npmjs.org/" > ~/.npmrc | ||
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc | ||
npm whoami | ||
yarn run lerna publish --repo-version=$(git describe --tag) --yes --force-publish=* --skip-npm | ||
cd packages/hydra-consent-sdk; npm publish | ||
- run: git remote rm origin | ||
- run: git remote add origin https://arekkas:[email protected]/ory/hydra-consent-app-auth0.git | ||
- run: git remote add origin https://arekkas:[email protected]/ory/hydra-auth0-consent-sdk.git | ||
- run: git push origin | ||
|
||
workflows: | ||
|
@@ -38,8 +42,3 @@ workflows: | |
- deploy: | ||
requires: | ||
- test | ||
filters: | ||
tags: | ||
only: /.*/ | ||
branches: | ||
ignore: /.*/ |
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 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 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 |
---|---|---|
|
@@ -5,5 +5,5 @@ | |
"example" | ||
], | ||
"npmClient": "yarn", | ||
"version": "0.0.0" | ||
"version": "0.0.1" | ||
} |
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 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