-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes publish script to require NPM tag, use Wombat registry, and correctly read check flags #18324
Conversation
Pure refactor that just pulls the Wombat registry into a separate string constant to be re-used across scripts.
Flag arguments provided by minimist are always strings. Both `--branchCheck` and `--versionCheck` failed to take this into account and were incorrectly typed as a result. Now boolean flags are parsed into actual boolean types which can be used more intuitively.
`--tag` now must be explicitly specified rather than defaulting to `latest`. It is also validated to be one of the expected set of tags. There is a new `--tagCheck false` flag that will skip this in order to handle one-off custom tags if necessary in the future. Apparently NPM requires that all releases have tags (defaulting to `latest` if not explicitly specified), so there is no way to choose **not** to push a new tag. That means that you can't push `10.0.x` and then push `9.0.x` without either using `v9-lts` or clobbering `latest`. The `--tag` requirement should hopefully enforce this restriction to avoid a potential release footgun.
This is stuck on 'Missing required status "ci/circleci: integration"'. Is there something more I need to do or is CI trying to run checks that don't exist on this branch? |
it doesn’t exists in this branch, I wonder if we should do a dump task
until Angular robot can handle this.
…On Wed, 22 Jul 2020 at 21:15, Douglas Parker ***@***.***> wrote:
This is stuck on 'Missing required status "ci/circleci: integration"'. Is
there something more I need to do or is CI trying to run checks that don't
exist on this branch?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#18324 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEF74WXQHYJKXKBSSV4ORO3R443FPANCNFSM4PEDM43A>
.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This is a patch PR for #18219. The
dist-tag
changes are not present here because that script does not exist and would not be used from this branch.I also dropped the
doc:
commit since we don't typically look at docs on the non-master branch.