File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+
3
+ How to do a release:
4
+
5
+ 1. Make sure you have publish access for all packages:
6
+ - You must be in the CLI team in the npm @vue organization
7
+ - You must have publish access to vue-cli-version-marker
8
+ - Make sure you DO NOT have npm per-publish 2-factor / OTP enabled, as it
9
+ does not work with Lerna (which we use for batch publishing).
10
+
11
+ 2. Run `yarn release`, follow prompts
12
+
13
+ 3A. If everything works properly, the tag should have been auto-pushed and a
14
+ local changelog commit should have been generated. Go to 4.
15
+
16
+ 3B. If the publish fails half-way, things have gotten hairy. Now you need to
17
+ go to npm to check which packages have been published and manually publish
18
+ the ones that have not been published yet. After all have been published:
19
+
20
+ 3B.1. Push the release git tag to GitHub.
21
+ 3B.2. Run `yarn changelog` to generate changelog commit.
22
+
23
+ 4. Push the changelog commit to `dev` branch.
24
+
25
+ 5. Go to GitHub and verify that the changelog is live.
26
+
27
+ 6. Go to GitHub releases page and publish the release (this is required for
28
+ the release to show up in the issue helper)
29
+
30
+ */
31
+
1
32
process . env . VUE_CLI_RELEASE = true
2
33
3
34
const execa = require ( 'execa' )
You can’t perform that action at this time.
0 commit comments