Skip to content

Commit

Permalink
Bump version number and accept libgit2 0.20.x.
Browse files Browse the repository at this point in the history
The new version number is chosen to be above the original libgit2
version numbers. Any packages that have a ">=0.19.0" dependency
will need to be adjusted for the new API with the separate libgit2
bindings.
  • Loading branch information
s-ludwig committed Feb 28, 2014
1 parent cab30b9 commit 1546d51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "LGPL 2",
"authors": ["Andrej Mitrovic", "David Nadlinger"],
"dependencies": {
"libgit2": "==0.19.2"
"libgit2": ">=0.19.2 <0.21.0"
},
"excludedSourceFiles": ["src/git/c/package.d"]
}
2 changes: 1 addition & 1 deletion src/git/version_.d
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ enum targetLibGitVersion = VersionInfo(LIBGIT2_VER_MAJOR, LIBGIT2_VER_MINOR, LIB
/**
The current version of dlibgit.
*/
enum dlibgitVersion = VersionInfo(0, 1, 0);
enum dlibgitVersion = VersionInfo(0, 50, 0);


static assert(targetLibGitVersion == VersionInfo(0, 19, 0) || targetLibGitVersion == VersionInfo(0, 20, 0));
Expand Down

0 comments on commit 1546d51

Please sign in to comment.