Skip to content

Commit 8c08a78

Browse files
committed
Use opam 2.1 in releasing guide
opam 2.1 with built-in depext is required to avoid qcheck version conflict with batteries.
1 parent dbd6479 commit 8c08a78

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/developer-guide/releasing.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,11 @@
3737
2. Extract distribution archive.
3838
3. Run Docker container in extracted directory: `docker run -it --rm -v $(pwd):/goblint ocaml/opam:ubuntu-22.04-ocaml-4.14` (or newer).
3939
4. Navigate to distribution archive inside Docker container: `cd /goblint`.
40-
5. Pin package from distribution archive: `opam pin add --no-action .`.
41-
6. Install depexts: `opam depext --with-test goblint`.
42-
7. Install and test package: `opam install --with-test goblint`.
43-
8. Activate opam environment: `eval $(opam env)`.
44-
9. Check version: `goblint --version`.
45-
10. Check that analysis works: `goblint -v tests/regression/04-mutex/01-simple_rc.c`.
46-
11. Exit Docker container.
40+
5. Install and test package from distribution archive: `opam-2.1 install --with-test .`.
41+
6. Activate opam environment: `eval $(opam env)`.
42+
7. Check version: `goblint --version`.
43+
8. Check that analysis works: `goblint -v tests/regression/04-mutex/01-simple_rc.c`.
44+
9. Exit Docker container.
4745

4846
12. Temporarily enable Zenodo GitHub webhook.
4947

0 commit comments

Comments
 (0)