Skip to content

Commit 2a030b4

Browse files
authored
Merge pull request #9 from OCamlPro/z-2020-08-01-use-patches-only
fixes and version 0.9.1
2 parents d9989ec + 2d2e3f1 commit 2a030b4

File tree

4 files changed

+29
-1
lines changed

4 files changed

+29
-1
lines changed

RELEASE.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
How to release a new version
2+
============================
3+
4+
Suppose you want to releave version 0.10.0:
5+
6+
* edit src/opambinGlobals.ml and change `version` to "0.10.0"
7+
* commit:
8+
```
9+
git commit -a -m "version 0.10.0"
10+
```
11+
* push:
12+
```
13+
git push
14+
```
15+
* Go to github.com and merge
16+
* Draft a new release:
17+
v0.10.0
18+
Version 0.10.0
19+
* Go in opam-bin-repository
20+
./scripts/new-opam-bin.sh 0.10.0
21+
* Commit and push
22+
git commit -a -m "add opam-bin.0.10.0"
23+
git push
24+
* You may also want to create a new binary archive for this version

dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(data_only_dirs test)

src/opambinCommandPreInstall.ml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ let action args =
4343
OpambinMisc.make_cache_dir ();
4444
match args with
4545
| name :: _version :: _depends :: [] ->
46+
let marker_dir = OpambinGlobals.opambin_switch_temp_dir () in
47+
if not ( Sys.file_exists marker_dir ) then
48+
EzFile.make_dir marker_dir;
4649
List.iter (fun (marker, backup) ->
4750
if Sys.file_exists marker then
4851
Sys.rename marker ( backup ~name )

src/opambinGlobals.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
open EzFile.OP
1212

1313
let command = "opam-bin"
14-
let version = "0.9.0"
14+
let version = "0.9.1"
1515
let about =
1616
Printf.sprintf "%s %s by OCamlPro SAS <[email protected]>"
1717
command version

0 commit comments

Comments
 (0)