File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ machine:
1212dependencies :
1313 cache_directories :
1414 - " ~/.cache/yarn"
15- - " ~/ghr"
1615
1716 override :
1817 - which node
@@ -22,14 +21,6 @@ dependencies:
2221
2322 - yarn install
2423
25- # setup ghr
26- - >
27- if [[ ! -e ~/ghr ]]; then
28- curl -L --create-dirs -o ~/ghr/ghr.zip https://github.com/tcnksm/ghr/releases/download/v0.5.0/ghr_v0.5.0_linux_amd64.zip;
29- unzip ~/ghr/ghr.zip -d ~/ghr
30- fi
31- - sudo ln -sF ~/ghr/ghr /usr/local/bin/ghr
32-
3324test :
3425 override :
3526 - node -v
@@ -49,12 +40,14 @@ deployment:
4940 tag : /v[0-9]+(\.[0-9]+)*/
5041 owner : yarnpkg
5142 commands :
52- - ~/ghr/ghr -prerelease --username yarnpkg --repository yarn --token $KPM_CIRCLE_RELEASE_TOKEN v$(dist/bin/yarn --version) artifacts/
53- - curl https://nightly.yarnpkg.com/sign_releases?token=$SIGN_TOKEN
43+ # Only NPM is handled here - All other release files are handled in a webhook.
5444 - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
5545 - ./scripts/set-installation-method.js "`pwd`/package.json" npm
5646 - npm publish --tag rc
5747
5848notify :
5949 webhooks :
60- - url : https://nightly.yarnpkg.com/api/archive_circleci
50+ # Handles uploading stable/RC releases to GitHub
51+ - url : https://nightly.yarnpkg.com/release_circleci
52+ # Handles archiving all builds onto the nightly build site
53+ - url : https://nightly.yarnpkg.com/archive_circleci
You can’t perform that action at this time.
0 commit comments