Skip to content

Commit

Permalink
Merge pull request #9 from OCamlPro/z-2020-08-01-use-patches-only
Browse files Browse the repository at this point in the history
fixes and version 0.9.1
  • Loading branch information
lefessan authored Aug 3, 2020
2 parents d9989ec + 2d2e3f1 commit 2a030b4
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
24 changes: 24 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
How to release a new version
============================

Suppose you want to releave version 0.10.0:

* edit src/opambinGlobals.ml and change `version` to "0.10.0"
* commit:
```
git commit -a -m "version 0.10.0"
```
* push:
```
git push
```
* Go to github.com and merge
* Draft a new release:
v0.10.0
Version 0.10.0
* Go in opam-bin-repository
./scripts/new-opam-bin.sh 0.10.0
* Commit and push
git commit -a -m "add opam-bin.0.10.0"
git push
* You may also want to create a new binary archive for this version
1 change: 1 addition & 0 deletions dune
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(data_only_dirs test)
3 changes: 3 additions & 0 deletions src/opambinCommandPreInstall.ml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ let action args =
OpambinMisc.make_cache_dir ();
match args with
| name :: _version :: _depends :: [] ->
let marker_dir = OpambinGlobals.opambin_switch_temp_dir () in
if not ( Sys.file_exists marker_dir ) then
EzFile.make_dir marker_dir;
List.iter (fun (marker, backup) ->
if Sys.file_exists marker then
Sys.rename marker ( backup ~name )
Expand Down
2 changes: 1 addition & 1 deletion src/opambinGlobals.ml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
open EzFile.OP

let command = "opam-bin"
let version = "0.9.0"
let version = "0.9.1"
let about =
Printf.sprintf "%s %s by OCamlPro SAS <[email protected]>"
command version
Expand Down

0 comments on commit 2a030b4

Please sign in to comment.