diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-08-14 19:28:54 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-08-14 19:28:54 +0300 |
commit | 8e5f53fd249f08b0be0a7d4eec65f425cfb79eae (patch) | |
tree | 247b5321b3fda46c390525fab1cc194e64c20ddb /bdep/publish.cxx | |
parent | fc9dbf81953ebe3b0757638671eb31787f4f387d (diff) |
Adapt to git_version() returning semantic_version now
Diffstat (limited to 'bdep/publish.cxx')
-rw-r--r-- | bdep/publish.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bdep/publish.cxx b/bdep/publish.cxx index 1afdd36..c498361 100644 --- a/bdep/publish.cxx +++ b/bdep/publish.cxx @@ -8,6 +8,7 @@ #include <libbutl/fdstream.mxx> // fdterm() #include <libbutl/manifest-parser.mxx> +#include <libbutl/standard-version.mxx> #include <libbutl/manifest-serializer.mxx> #include <libbpkg/manifest.hxx> @@ -29,7 +30,7 @@ namespace bdep // worktree command used. We also use bpkg that caps the git version at // 2.12, so let's use is as the lowest common denominator. // - static const standard_version git_ver ("2.12.0"); + static const semantic_version git_ver {2, 12, 0}; static inline url parse_url (const string& s, const char* what) |