From e76390870f577cd23c4f70750d7f6e96d0525a65 Mon Sep 17 00:00:00 2001 From: Joaquin Casares Date: Tue, 19 Jul 2022 22:40:50 +0000 Subject: [PATCH] tested working publishing of sdk --- .circleci/config.yml | 2 +- libs/scripts/release.sh | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a66ea4dfa34..848caee9d36 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -118,7 +118,7 @@ jobs: - "d0:0b:a0:19:ac:46:58:e4:6c:ac:34:99:f6:1b:31:bb" - run: name: npm Auth - command: echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > .npmrc + command: echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc - run: name: Bump and Publish Libs command: | diff --git a/libs/scripts/release.sh b/libs/scripts/release.sh index 8953fc4b229..064cadddcdb 100755 --- a/libs/scripts/release.sh +++ b/libs/scripts/release.sh @@ -68,16 +68,15 @@ function merge-bump () { git checkout master -f git merge ${STUB}-${VERSION} -m "$(commit-message)" - # git push -u origin master + git push -u origin master # clean up release branches - # git push origin :${STUB}-${VERSION} + git push origin :${STUB}-${VERSION} } # publish to npm function publish () { - echo - # npm publish . --access public + npm publish . --access public } # configuration