ci: release canary versions every week#7860
Merged
yyx990803 merged 8 commits intovuejs:mainfrom Mar 17, 2023
Merged
Conversation
Also adds `--skip-git` and `--skip-prompts` flags as they would be useful in ecosystem-ci
As far as I know, only Knighly modifies the README for nightly builds: <https://www.npmjs.com/package/@knightly/vue> Nuxt, React, and TypeScript all keep the README as-is for edge releases. So I think we can avoid the complexity here.
The directory name format of `@vue/compat` is different from other core packages, so it needs to be handled separately. Missing it didn't cause any problems because the `isCorePackage` function is only used to test dependency names, and `@vue/compat` isn't used as a dependency anywhere. But it's good to fix it anyway.
IAmSSH
pushed a commit
to IAmSSH/core
that referenced
this pull request
May 14, 2023
* build: support `--canary` flag for canary releases Also adds `--skip-git` and `--skip-prompts` flags as they would be useful in ecosystem-ci * ci: add a workflow to do canary releases every Monday * build: allow manually releasing patch canary versions * chore: don't bother updating the README As far as I know, only Knighly modifies the README for nightly builds: <https://www.npmjs.com/package/@knightly/vue> Nuxt, React, and TypeScript all keep the README as-is for edge releases. So I think we can avoid the complexity here. * refactor: checkCIStatus -> getCIResult * chore: keep the canary major in sync with the repo major * fix: fix version rewriting * fix: `@vue/compat` is also a core package The directory name format of `@vue/compat` is different from other core packages, so it needs to be handled separately. Missing it didn't cause any problems because the `isCorePackage` function is only used to test dependency names, and `@vue/compat` isn't used as a dependency anywhere. But it's good to fix it anyway.
This was referenced Sep 21, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requires an
NPM_TOKENsecret to be set in https://github.com/vuejs/core/settings/secrets/actionsIt should be a granular access token with the write permission to the
@vuescope (NOT organization).Implementation details:
canaryrather thannightlybecause it runs weekly;npx install-vue@canary(https://github.com/sodatea/install-vue)npm add vue@npm:@vue/canaryfor the latest, ornpm add vue@npm:@vue/canary@3.20230313.0for a specific version.@vue/reactivity, it'snpm add @vue/reactivity@npm:@vue/reactivity-canary--skip-gitand--skip-promptsflags in the release script, as they would be useful inecosystem-ciRemaining questions: