diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c494c2..e5cebfd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,6 +65,7 @@ jobs: - 'v1.0.0' - 'v1.1.0' - 'v1.2.0' + - 'v1.3.0' name: Go (system-wide, dynamic) runs-on: ubuntu-20.04 diff --git a/Build_bundled_static.go b/Build_bundled_static.go index 4c9233e..36fa182 100644 --- a/Build_bundled_static.go +++ b/Build_bundled_static.go @@ -9,8 +9,8 @@ package git #cgo CFLAGS: -DLIBGIT2_STATIC #include -#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 0 || LIBGIT2_VER_MINOR > 2 -# error "Invalid libgit2 version; this git2go supports libgit2 between v1.0.0 and v1.2.0". +#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 0 || LIBGIT2_VER_MINOR > 3 +# error "Invalid libgit2 version; this git2go supports libgit2 between v1.0.0 and v1.3.0". #endif */ import "C" diff --git a/Build_system_dynamic.go b/Build_system_dynamic.go index 81dd217..83d821f 100644 --- a/Build_system_dynamic.go +++ b/Build_system_dynamic.go @@ -7,8 +7,8 @@ package git #cgo CFLAGS: -DLIBGIT2_DYNAMIC #include -#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 0 || LIBGIT2_VER_MINOR > 2 -# error "Invalid libgit2 version; this git2go supports libgit2 between v1.0.0 and v1.2.0". +#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 0 || LIBGIT2_VER_MINOR > 3 +# error "Invalid libgit2 version; this git2go supports libgit2 between v1.0.0 and v1.3.0". #endif */ import "C" diff --git a/Build_system_static.go b/Build_system_static.go index a3e528c..17c115e 100644 --- a/Build_system_static.go +++ b/Build_system_static.go @@ -7,8 +7,8 @@ package git #cgo CFLAGS: -DLIBGIT2_STATIC #include -#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 0 || LIBGIT2_VER_MINOR > 2 -# error "Invalid libgit2 version; this git2go supports libgit2 between v1.0.0 and v1.2.0". +#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 0 || LIBGIT2_VER_MINOR > 3 +# error "Invalid libgit2 version; this git2go supports libgit2 between v1.0.0 and v1.3.0". #endif */ import "C"