Commit Graph

69 Commits

Author SHA1 Message Date
Evan You cac1e4e7f6
workflow: skip provenance when publishing commits 2024-08-12 07:15:42 +08:00
Evan You 119a0b3832
workflow: use explicit registry when publishing 2024-08-12 07:11:17 +08:00
Evan You a1ee8b719f
workflow: handle targetVersion in release script with publishOnly flag 2024-08-12 06:45:44 +08:00
Evan You e33331275d
workflow: fix release script in actions 2024-08-08 21:42:43 +08:00
Evan You 47cdf241f2
workflow: adjust release workflow 2024-08-08 20:44:35 +08:00
Evan You 13834c81ea
workflow: fix release script error handling 2024-08-06 21:14:32 +08:00
Evan You ae09d24f41
workflow: bail release when skipping prompts + CI not passed yet 2024-08-06 21:07:58 +08:00
Haoqun Jiang a586901a76
workflow: add a "publish" workflow for automated releases (#9690) 2024-08-06 20:42:36 +08:00
Evan You 93324b2ec0
chore: refactor scripts to reduce dependencies 2024-07-05 11:51:24 +08:00
Evan You 1e42f24d8f
workflow: improve release script ci status check 2024-06-14 17:59:12 +02:00
Evan You b7f6c54f67
chore: fix release script type 2024-06-10 17:37:20 +08:00
Haoqun Jiang ea494af993
chore: update to ESLint 9 (#10705) 2024-04-17 21:58:35 +08:00
Evan You 159efa9d73 chore: fix local test run mode in release script 2024-02-13 13:07:39 +08:00
Neo 4082426c01
workflow: minor tweaks for release script (#10220)
- `pnpm run test` instead of `pnpm test run`
- also need `--no-git-checks` when drying run
- fix spelling of `remote`
2024-01-29 09:32:56 +08:00
三咲智子 Kevin Deng bfe6b459d3
style: update format & lint config (#9162)
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
ZHAO Jin-Xiang 7218ab7496
chore: improve typing for scripts (#9709) 2023-11-30 14:17:51 +08:00
Evan You 1ea775633d chore: Merge branch 'main' into minor 2023-11-21 09:48:26 +08:00
Evan You fc772dbf73 chore: exclude private packages from version updates 2023-11-21 09:37:37 +08:00
Evan You 8fddb19c3a workflow: use workspace deps 2023-11-21 09:22:12 +08:00
Evan You fe82f96376 workflow: bypass pnpm publish branch restrictions during release 2023-11-02 19:02:35 +08:00
Evan You e5844aafb6 chore: avoid unncessary print on release script exit [ci skip] 2023-10-20 11:47:56 +08:00
Evan You ec5b36c770 chore: replace chalk with picocolors 2023-10-20 10:23:18 +08:00
Evan You f23d951f90 chore: check if commit is up-to-date with remote before release 2023-10-20 10:16:45 +08:00
Haoqun Jiang b8fc18c0b2
ci: add a canary release workflow for next minor (#9265) 2023-09-22 15:51:11 +08:00
renovate[bot] 30c6b12957
chore(deps): update dependency execa to v8 (#9266)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-09-21 07:25:32 -05:00
Haoqun Jiang 17d37d6a04
workflow: respect `--skipGit` on `pnpm publish` (#8261)
Fixes errors like https://github.com/vuejs/core/actions/runs/4924472857/jobs/8797539690#step:6:332
2023-05-18 12:52:02 +08:00
Evan You a11599449e workflow: use pnpm publish during release 2023-05-08 16:51:50 +08:00
Evan You 7f1b546a99 workflow: support building types in build script 2023-04-18 11:39:21 +08:00
Evan You 32b91dbd87 workflow: remove yarn usage in release script 2023-04-08 13:28:55 +08:00
Evan You e4a2d11f82 chore: move ts-ignore comment in release script 2023-04-08 13:23:06 +08:00
Haoqun Jiang ff35fe9ffe
build: exit with code 1 on release failure (#7962)
See https://github.com/vuejs/core/actions/runs/4527710331/jobs/7973811532#step:6:279

The canary release action should fail if the release script fails.
2023-03-28 09:43:09 +08:00
Haoqun Jiang 543d6dbc94
build: don't wait for changelog edits when `--skip-prompts` or `--canary` is specified (#7965) 2023-03-28 09:42:45 +08:00
Evan You 9dd98f00f2 chore: allow editing changelog before committing release 2023-03-26 16:38:42 +08:00
Haoqun Jiang 650f5c26f4
build: fix canary bundling issues (#7907)
1. correct the rollup config after the package name changed
2. fix the same-day patch version bump of canary releases
2023-03-17 16:47:48 +08:00
Haoqun Jiang 29852dfa9c
ci: release canary versions every week (#7860)
* 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.
2023-03-17 15:37:29 +08:00
Evan You 2df8049aa4 chore: avoid double-building types on release 2023-02-05 16:21:22 +08:00
Evan You 2774ba5f0f chore: use workspace vue dep for sfc-playground 2023-02-03 21:49:18 +08:00
Evan You 20ea62da3c chore: use type: "module" 2023-02-03 18:12:56 +08:00
Evan You ab45f6f8a2 build: update build scripts to esm 2023-01-26 14:24:49 +08:00
Evan You 0cf9ae62be chore: remove stale todo comment [ci skip] 2022-05-31 17:02:07 +08:00
Evan You 739af3da60 workflow: fix release script for pnpm 7 [ci skip] 2022-05-17 12:47:43 +08:00
Cloyd Lau 209483bed1
workflow: recover version when error occurred (#5493) [ci skip] 2022-05-12 20:15:13 -04:00
Evan You 7c6386c01c workflow: remove next tag in release script 2022-02-07 13:26:12 +08:00
Evan You 7a5c784452 workflow: update lockfile during release 2021-11-05 10:17:47 +08:00
Evan You 3f4c50ca83 chore: use pnpm in release script 2021-11-02 14:31:38 +08:00
Evan You 61c5fbd3e3
workflow: move to pnpm (#4766) 2021-10-08 14:23:30 -04:00
Evan You fb43aab117 chore: remove wrongly placed type casts 2021-09-02 14:18:52 -04:00
dependabot[bot] 305883a12f
build(deps-dev): bump typescript from 4.3.5 to 4.4.2 (#4482)
* build(deps-dev): bump typescript from 4.3.5 to 4.4.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps-dev): bump typescript from 4.3.5 to 4.4.2

* test: fix nodeOps types

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Rodrigues <carlos@hypermob.co.uk>
Co-authored-by: Evan You <yyx990803@gmail.com>
2021-09-02 09:53:57 -04:00
Evan You 1c7f5d3fce workflow: auto determine release dist-tag 2021-07-23 19:22:47 -04:00
Evan You 290e494292 chore: bail early on release test run 2021-03-01 10:55:39 -05:00