Commit graph

20 commits

Author SHA1 Message Date
JJ Kasper
913bf03af0
Handle premajor version for canary (#66336)
Ensures we can cut premajors for canary the same as release-candidate
tags.
2024-05-29 08:26:51 -07:00
JJ Kasper
f6db3b79b1 add missing -y to start-release 2024-05-23 08:09:29 -07:00
JJ Kasper
188b37d11d
Add release candidate handling to start release (#66107)
This adds support for a new `rc` publish tag to our start release
workflow.
2024-05-22 23:52:56 -05:00
JJ Kasper
9f38cfee3d
Update to only use preminor when configured (#62904)
Ensures we don't use preminor every time only when we manually specify
to

x-ref:
https://github.com/vercel/next.js/actions/runs/8161338410/job/22309868382

Closes NEXT-2716
2024-03-05 12:34:51 -08:00
JJ Kasper
9547635bf7
Update canary semver handling (#62852)
As discussed this updates our canary semver bumping to use `preminor`
instead of `prerelease` to avoid overlap with patches/backports and make
it more clear for users which versions go along together.

x-ref: [slack
thread](https://vercel.slack.com/archives/C04DUD7EB1B/p1709583075769789)

Closes NEXT-2701
2024-03-04 16:48:55 -08:00
JJ Kasper
e5a4e82f30
Update start release handling (#62851)
This removes the hacky handling for executing lerna with using the
official commands directly, this also removes the legacy package.json
scripts we had for publishing.

Closes NEXT-2700

---------

Co-authored-by: Zack Tanner <zacktanner@gmail.com>
2024-03-04 16:28:22 -08:00
Zack Tanner
811e5c4fd5
move release undraft step until after canary is fully published (#57324)
Currently we publish a release in GitHub before it's actually fully published to npm. This moves the undraft step until after the publish is finished
2023-10-31 18:37:06 +00:00
Jimmy Lai
0bcba460b7 fix publish script 2023-10-26 08:58:37 -07:00
Jiachi Liu
ad79fed1a2
ci: update github token (#50216)
[slack-thread](https://vercel.slack.com/archives/C01LN7C5QR5/p1684849596794369?thread_ts=1684428058.764599&cid=C01LN7C5QR5)
2023-05-23 07:29:58 -07:00
Jiachi Liu
9314fb6597
Wait for versioning prompt to show up for stable release (#48692)
Wait for the prompt to show up then enter the cursor change or "y" for
prompt to avoid write to child process too early

Example
```
Running pnpm release-stable...
Releasing patch: cursor stay
Enter newline
Enter y
Await child process...
> nextjs-project@0.0.0 release-stable /home/runner/work/next.js/next.js
> lerna version --force-publish
lerna notice cli v4.0.0
lerna info ci enabled
lerna info current version 13.3.1-canary.19
lerna WARN force-publish all packages
lerna info Assuming all packages changed
? Select a new version (currently 13.3.1-canary.19) (Use arrow keys)
❯ Patch (13.3.1) 
  Minor (13.4.0) 
  Major (14.0.0) 
  Prepatch (13.3.2-canary.0) 
  Preminor (13.4.0-canary.0) 
  Premajor (14.0.0-canary.0) 
  Custom Prerelease 
  Custom Version ? Select a new version (currently 13.3.1-canary.19) Patch (13.3.1)
Changes:
```
2023-04-21 17:58:24 -04:00
Jiachi Liu
4f1b0f737a
Add logs to release job (#48690)
Adding more logs for GA release job

---------

Co-authored-by: Steven <steven@ceriously.com>
2023-04-21 22:54:12 +02:00
JJ Kasper
3a83c6b313
Update start release flow (#48634)
x-ref: [slack
thread](https://vercel.slack.com/archives/C01LN7C5QR5/p1681914697254659)
2023-04-20 15:58:36 +00:00
JJ Kasper
2a68ecf509
Fix stable release start (#48044)
x-ref:
https://github.com/vercel/next.js/actions/runs/4632849191/jobs/8197395820
2023-04-06 14:52:56 -07:00
JJ Kasper
400ccf7b1c
Update to retry undrafting canary (#47826)
x-ref:
https://github.com/vercel/next.js/actions/runs/4588934126/jobs/8103482375#step:10:658
2023-04-02 11:37:08 -07:00
JJ Kasper
083dd2a59f
Tweak canary undrafting (#47777)
Fixes:
https://github.com/vercel/next.js/actions/runs/4581084068/jobs/8090349455#step:10:661
2023-03-31 21:06:51 -07:00
JJ Kasper
6e5eb2c4d2
Update publish canary to undraft automatically (#47775)
x-ref: [slack
thread](https://vercel.slack.com/archives/C04DUD7EB1B/p1680313038895799?thread_ts=1680303743.811339&cid=C04DUD7EB1B)
2023-03-31 19:00:12 -07:00
JJ Kasper
bd8ba61bca
Update release package.json scripts (#47529)
We should no longer be starting releases from local and instead use the
GH action so this updates the scripts to point to there.
2023-03-25 12:59:51 -07:00
JJ Kasper
cbb6dda6a3
Tweak trigger release cloning 2023-03-23 23:07:52 -07:00
JJ Kasper
af89adbd61
Update fetch cache memory handling (#47465)
This ensures we only honor cache entries from the in memory cache for up
to 2 seconds so that revalidates can correctly propagate and also
increases max fetch cache entry size to 2 MB. The `fetchCache` export is
also being detected in this PR but not yet honored which will be done in
a follow-up.
2023-03-23 22:30:08 -07:00
JJ Kasper
d0bdd8f230
Add workflow to trigger release (#47461)
As discussed this adds a publish workflow that can be triggered for
canary or stable releases which ensures we are publishing from a
consistent environment and local config doesn't affect a release.
2023-03-23 16:28:49 -07:00