aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-02-15 15:19:28 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-02-15 15:28:23 +0300
commit257051a161dcef6e982d7ee4ba040fd3db436720 (patch)
treee652f108cd89c8f31578940c91be21640dc02c34
parent516ef09b0e2272c4953fbfb67c7e989822471776 (diff)
Fix order of options/args when running 'git tag' in bdep-release
-rw-r--r--bdep/release.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/bdep/release.cxx b/bdep/release.cxx
index 3c4a7e7..cb74957 100644
--- a/bdep/release.cxx
+++ b/bdep/release.cxx
@@ -884,8 +884,9 @@ namespace bdep
prj.path,
"tag",
prj.replace_tag ? "-f" : nullptr,
- "-a", *prj.tag,
- "-m", "Tag version " + cv.string ());
+ "-a",
+ "-m", "Tag version " + cv.string (),
+ *prj.tag);
}
// Open.