From 4f4d322e47d6881627b28671b00e2555533755b2 Mon Sep 17 00:00:00 2001 From: Gerald Yeo Date: Sun, 4 Mar 2018 00:51:56 +0800 Subject: [PATCH 1/2] fix: npm auth during release --- scripts/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build.sh b/scripts/build.sh index 987dc12a..dfdb5478 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -5,3 +5,4 @@ cp README.md dist/README.md cp LICENSE dist/LICENSE cp package.json dist/package.json cp .npmignore dist/.npmignore +cp .npmrc dist/.npmrc From 089d57c85681cef742268caedf963d7629db6304 Mon Sep 17 00:00:00 2001 From: Gerald Yeo Date: Sun, 4 Mar 2018 00:52:30 +0800 Subject: [PATCH 2/2] chore: added automated github release tagging to CI --- circle.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/circle.yml b/circle.yml index f5b4b545..7dddf612 100644 --- a/circle.yml +++ b/circle.yml @@ -22,6 +22,7 @@ deployment: tag: /^v[0-9]+(\.[0-9]+)*$/ owner: yeojz commands: + - npx conventional-github-releaser -p angular - npm run clean - npm run build - cd dist && npm publish @@ -33,6 +34,7 @@ deployment: tag: /^v[0-9]+(\.[0-9]+)*\-[0-9]+$/ owner: yeojz commands: + - npx conventional-github-releaser -p angular - npm run clean - npm run build - cd dist && npm publish --tag next