Skip to content

Commit 6989f83

Browse files
committed
Add a release guide
1 parent 9e61c6a commit 6989f83

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Diff for: RELEASE.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## Guide on releasing a new version
2+
3+
1. Merge in the changeset PR into main, making sure to cancel both the release and publish github actions from that merge.
4+
2. Pull the changes locally into main
5+
3. Run `pnpm i` which will update the pnpm lock file with the new versions
6+
4. create a commit with "Release 3.x.x" and push. This will build and release the packages
7+
5. Create a git tag on that release commit with v.docker.3.x.x and push the tag to origin. This will publish the `v3.x.x` docker image to GitHub Container Registry.
8+
6. Once the image is built and pushed, create a new GitHub release and select the tag you just created, along with the previous tag that was released.
9+
7. This will generate some release notes. Edit out the package changes and leave only the server changes.
10+
8. Name the release `@trigger.dev/[email protected]`
11+
9. Include the package link (e.g. https://github.com/triggerdotdev/trigger.dev/pkgs/container/trigger.dev/278459584?tag=v3.x.x)
12+
10. Once the packages have been published, head over to the [v2-legacy repo](https://github.com/triggerdotdev/v2-legacy.trigger.dev) and follow the instructions in the README for creating a matching release.
13+
11. Before deploying to cloud, compare the differences in the previously created release and double check to see if there are any migrations with indexes created concurrently, and make sure to run those before deploying.

0 commit comments

Comments
 (0)