Skip to content

Commit

Permalink
Fix lerna canary publishing; use default --canary versioning with `gi…
Browse files Browse the repository at this point in the history
…t describe` (#2693)

* use annotated tags with git describe

* upgrade lerna v4
  • Loading branch information
thedavidprice authored Jun 2, 2021
1 parent 4487803 commit 7b37b92
Show file tree
Hide file tree
Showing 274 changed files with 1,133 additions and 1,305 deletions.
1 change: 0 additions & 1 deletion .github/workflows/publish-npm-canary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:

- name: Publish to npm
run: |
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > .npmrc
./tasks/publish-canary
env:
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@evocateur-pacote-9.6.5.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-add-3.20.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-add-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-bootstrap-3.20.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-bootstrap-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-changed-3.20.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-changed-4.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-child-process-3.16.5.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-clean-3.20.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-clean-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-cli-3.18.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-cli-4.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-command-3.18.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-command-4.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-create-3.18.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-create-4.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-describe-ref-3.16.5.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-diff-3.18.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-diff-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-exec-3.20.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-exec-4.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-get-packed-3.16.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-get-packed-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-github-client-3.16.5.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-gitlab-client-3.15.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-import-3.18.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-import-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-info-3.20.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-info-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-init-3.18.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-init-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-link-3.18.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-link-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-list-3.20.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-list-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-listable-3.18.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-listable-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-log-packed-3.16.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-log-packed-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-npm-conf-3.16.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-npm-conf-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-npm-dist-tag-3.18.5.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-npm-install-3.16.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-npm-install-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-npm-publish-3.18.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-npm-publish-4.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-otplease-3.18.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-otplease-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-output-3.13.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-output-4.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-package-3.16.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-package-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-package-graph-3.18.5.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-profiler-3.20.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-profiler-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-project-3.18.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-project-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-prompt-3.18.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-prompt-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-publish-3.20.2.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-publish-4.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-query-graph-3.18.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-query-graph-4.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-rimraf-dir-3.16.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-rimraf-dir-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-run-3.20.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-run-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-run-lifecycle-3.16.2.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-timer-3.13.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-timer-4.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@lerna-version-3.20.2.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@lerna-version-4.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .yarn-packages-cache/@npmcli-ci-detect-1.3.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@npmcli-git-2.0.9.tgz
Binary file not shown.
Binary file not shown.
Binary file added .yarn-packages-cache/@npmcli-node-gyp-1.0.2.tgz
Binary file not shown.
Binary file not shown.
Binary file added .yarn-packages-cache/@npmcli-run-script-1.8.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@octokit-core-3.4.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@octokit-graphql-4.6.2.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/@octokit-rest-16.43.2.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@octokit-rest-18.5.6.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@octokit-types-2.16.2.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/@octokit-types-6.16.2.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/@zkochan-cmd-shim-3.1.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/add-stream-1.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/agent-base-4.2.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/agent-base-4.3.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/agentkeepalive-3.5.2.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/agentkeepalive-4.1.4.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/any-promise-1.3.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/array-differ-2.1.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/array-differ-3.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/atob-lite-2.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/btoa-lite-1.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/byte-size-5.0.1.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/byte-size-7.0.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/camelcase-4.1.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/camelcase-keys-4.2.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/cmd-shim-4.1.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/dargs-4.1.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/dargs-7.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/dot-prop-4.2.1.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/dot-prop-6.0.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/err-code-1.1.2.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/err-code-2.0.3.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/es6-promise-4.2.8.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/es6-promisify-5.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/fs-extra-8.1.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/genfun-5.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/get-port-4.2.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/get-port-5.1.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/git-raw-commits-2.0.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/git-raw-commits-2.0.10.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/git-semver-tags-2.0.3.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/git-semver-tags-4.1.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/http-cache-semantics-3.8.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/http-proxy-agent-2.1.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/https-proxy-agent-2.2.4.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/init-package-json-1.10.3.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/init-package-json-2.0.3.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/inquirer-6.5.2.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/is-lambda-1.0.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/is-obj-1.0.1.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/is-plain-obj-2.1.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/lerna-3.20.2.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/lerna-4.0.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/libnpmaccess-4.0.2.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/libnpmpublish-4.0.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/load-json-file-5.3.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/load-json-file-6.2.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/lodash.set-4.3.2.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/macos-release-2.4.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/make-fetch-happen-5.0.2.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/make-fetch-happen-8.0.14.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/map-obj-2.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/meow-4.0.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/minimist-options-3.0.2.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/minipass-fetch-1.3.3.tgz
Binary file not shown.
Binary file not shown.
Binary file added .yarn-packages-cache/minipass-sized-1.0.3.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/mkdirp-infer-owner-2.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/mkdirp-promise-5.0.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/multimatch-3.0.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/multimatch-5.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/mz-2.7.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/node-fetch-npm-2.0.4.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/node-gyp-7.1.2.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/nopt-5.0.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/npm-install-checks-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/npm-package-arg-6.1.1.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/npm-package-arg-8.1.2.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/npm-packlist-1.4.8.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/npm-pick-manifest-3.0.2.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/npm-pick-manifest-6.1.1.tgz
Binary file not shown.
Binary file not shown.
Binary file added .yarn-packages-cache/npm-registry-fetch-9.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/os-name-3.1.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/p-map-series-1.0.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/p-map-series-2.1.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/p-pipe-1.2.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/p-pipe-3.1.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/p-queue-4.0.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/p-queue-6.6.2.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/p-reduce-1.0.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/p-reduce-2.1.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/p-waterfall-1.0.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/p-waterfall-2.1.1.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/pacote-11.3.3.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/pify-5.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/promise-retry-1.1.1.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/promise-retry-2.0.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/protoduck-5.0.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/quick-lru-1.1.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/read-cmd-shim-1.0.5.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/read-cmd-shim-2.0.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/read-package-json-3.0.1.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn-packages-cache/redent-2.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/retry-0.10.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/socks-2.3.3.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/socks-2.6.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/socks-proxy-agent-4.0.2.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/socks-proxy-agent-5.0.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/sort-keys-4.2.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/split2-2.2.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/strip-indent-2.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/temp-write-3.4.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/thenify-3.3.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/thenify-all-1.6.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/through2-3.0.2.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/tr46-1.0.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/trim-newlines-2.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/type-fest-0.3.1.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/type-fest-0.4.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/universal-user-agent-4.0.1.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/upath-2.0.1.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/webidl-conversions-4.0.2.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/whatwg-url-7.1.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/windows-release-3.3.3.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/write-json-file-2.3.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/write-json-file-4.3.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/write-pkg-3.2.0.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/write-pkg-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/yargs-14.2.3.tgz
Binary file not shown.
Binary file removed .yarn-packages-cache/yargs-parser-15.0.1.tgz
Binary file not shown.
Binary file added .yarn-packages-cache/yargs-parser-20.2.4.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ git clean -dfx
yarn install
./tasks/update-package-versions <version>
git commit -am "<version>"
git tag <version>
git tag -am <version> "<version>"
git push && git push --tags
yarn build
yarn lerna publish from-package
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"cp-cli": "2.0.0",
"cross-env": "7.0.3",
"jest": "26.5.3",
"lerna": "3.20.2",
"lerna": "4.0.0",
"msw": "0.29.0",
"nodemon": "2.0.7",
"npm-packlist": "2.2.2",
Expand Down
Loading

0 comments on commit 7b37b92

Please sign in to comment.