File tree Expand file tree Collapse file tree 4 files changed +29
-1
lines changed Expand file tree Collapse file tree 4 files changed +29
-1
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
1
+ (data_only_dirs test)
Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ let action args =
43
43
OpambinMisc. make_cache_dir () ;
44
44
match args with
45
45
| 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;
46
49
List. iter (fun (marker , backup ) ->
47
50
if Sys. file_exists marker then
48
51
Sys. rename marker ( backup ~name )
Original file line number Diff line number Diff line change 11
11
open EzFile.OP
12
12
13
13
let command = " opam-bin"
14
- let version = " 0.9.0 "
14
+ let version = " 0.9.1 "
15
15
let about =
16
16
Printf. sprintf
" %s %s by OCamlPro SAS <[email protected] >"
17
17
command version
You can’t perform that action at this time.
0 commit comments