You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/README.md
+10
Original file line number
Diff line number
Diff line change
@@ -306,6 +306,16 @@ env version=x.y.z make release
306
306
307
307
- Use [opam-publish](https://github.com/ocaml/opam-publish) to publish the latest version to opam.
308
308
309
+
#### Releasing to OPAM manually
310
+
311
+
Typically Reason will be released to NPM first (through Esy). To manually release
312
+
to OPAM, simply:
313
+
314
+
1. Copy the `.opam` file(s) in this repo
315
+
2. Add a `url` clause ([example](https://github.com/ocaml/opam-repository/blob/a55812366d555a5d2ba45cba01fbdab49e459515/packages/reason/reason.3.2.0/opam#L28-L31)) with the place where to find the release tarball.
316
+
3. Submit a PR to the [OPAM repository](https://github.com/ocaml/opam-repository) under e.g.
317
+
`packages/reason/reason.X.Y.Z/opam`.
318
+
309
319
### Esy Releases
310
320
311
321
Cutting a release of esy versions is a good way to get packages out there for
0 commit comments