@@ -76,20 +76,20 @@ let tag () (`Dry_run dry_run) (`Change_log change_log) (`Keep_v keep_v)
76
76
(`Delete delete ) (`Msg msg ) (`Yes yes ) =
77
77
Config. keep_v ~keep_v
78
78
>> = (fun keep_v ->
79
- let pkg = Pkg. v ~dry_run ~keep_v ?change_log () in
80
- Vcs. get () >> = fun vcs ->
81
- (match version with
82
- | Some v -> Ok (v, Version. to_tag vcs v)
83
- | None ->
84
- Pkg. change_log pkg >> = fun changelog ->
85
- App_log. status (fun l ->
86
- l " Extracting tag from first entry in %a" Text.Pp. path changelog);
87
- Pkg. extract_version pkg >> = fun cl ->
88
- Ok (Pkg. version_of_changelog pkg cl, Version.Changelog. to_tag vcs cl))
89
- >> = fun (version , tag ) ->
90
- vcs_tag vcs pkg tag version ~dry_run ~commit_ish ~force ~sign ~delete
91
- ~msg ~yes
92
- >> = fun () -> Ok 0 )
79
+ let pkg = Pkg. v ~dry_run ~keep_v ?change_log () in
80
+ Vcs. get () >> = fun vcs ->
81
+ (match version with
82
+ | Some v -> Ok (v, Version. to_tag vcs v)
83
+ | None ->
84
+ Pkg. change_log pkg >> = fun changelog ->
85
+ App_log. status (fun l ->
86
+ l " Extracting tag from first entry in %a" Text.Pp. path changelog);
87
+ Pkg. extract_version pkg >> = fun cl ->
88
+ Ok (Pkg. version_of_changelog pkg cl, Version.Changelog. to_tag vcs cl))
89
+ >> = fun (version , tag ) ->
90
+ vcs_tag vcs pkg tag version ~dry_run ~commit_ish ~force ~sign ~delete ~msg
91
+ ~yes
92
+ >> = fun () -> Ok 0 )
93
93
|> Cli. handle_error
94
94
95
95
(* Command line interface *)
0 commit comments