summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--cmd/cli/main.go2
-rw-r--r--docs/src/gettingstarted/building/example.md2
-rw-r--r--exports/common.mk2
-rw-r--r--internal/http/http.go2
-rw-r--r--wrappers/python/eduvpn_common/__init__.py2
-rw-r--r--wrappers/python/example/main.py2
-rwxr-xr-xwrappers/python/setup.py2
8 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 402ce56..0891de2 100644
--- a/Makefile
+++ b/Makefile
@@ -35,9 +35,9 @@ srpm:
rm -rf dist/*
# Archive code with vendored dependencies
- git clone . dist/libeduvpn-common-1.1.2
+ git clone . dist/libeduvpn-common-2.0.0
go mod vendor
- cp -r vendor dist/libeduvpn-common-1.1.2/vendor
+ cp -r vendor dist/libeduvpn-common-2.0.0/vendor
tar -zcvf ~/rpmbuild/SOURCES/libeduvpn-common.tar.gz -C dist .
# Cleanup
diff --git a/cmd/cli/main.go b/cmd/cli/main.go
index b7aa9ff..0f130ad 100644
--- a/cmd/cli/main.go
+++ b/cmd/cli/main.go
@@ -164,7 +164,7 @@ func printConfig(url string, srvType srvtypes.Type) {
var c *client.Client
c, err := client.New(
"org.eduvpn.app.linux",
- "1.1.2-cli",
+ "2.0.0-cli",
"configs",
func(old client.FSMStateID, new client.FSMStateID, data interface{}) bool {
stateCallback(c, old, new, data)
diff --git a/docs/src/gettingstarted/building/example.md b/docs/src/gettingstarted/building/example.md
index 1f541b2..38242f7 100644
--- a/docs/src/gettingstarted/building/example.md
+++ b/docs/src/gettingstarted/building/example.md
@@ -23,6 +23,6 @@ make -C wrappers/python
5. Install the wheel using pip
```bash
-pip install wrappers/python/dist/eduvpncommon-1.1.2-py3-none-linux_x86_64.whl
+pip install wrappers/python/dist/eduvpncommon-2.0.0-py3-none-linux_x86_64.whl
```
Note that the name of your wheel changes on the platform and version.
diff --git a/exports/common.mk b/exports/common.mk
index 940b3d4..cb649ad 100644
--- a/exports/common.mk
+++ b/exports/common.mk
@@ -19,7 +19,7 @@ LIB_SUFFIX ?= .so
endif
# Current version
-VERSION = 1.1.2
+VERSION = 2.0.0
# Library name without prefixes/suffixes
LIB_NAME ?= eduvpn_common
diff --git a/internal/http/http.go b/internal/http/http.go
index a872750..58e8f05 100644
--- a/internal/http/http.go
+++ b/internal/http/http.go
@@ -248,5 +248,5 @@ func (e *StatusError) Error() string {
// RegisterAgent registers the user agent for client and version
func RegisterAgent(client string, version string) {
- UserAgent = fmt.Sprintf("%s/%s %s", client, version, "eduvpn-common/1.1.2")
+ UserAgent = fmt.Sprintf("%s/%s %s", client, version, "eduvpn-common/2.0.0")
}
diff --git a/wrappers/python/eduvpn_common/__init__.py b/wrappers/python/eduvpn_common/__init__.py
index 72f26f5..8c0d5d5 100644
--- a/wrappers/python/eduvpn_common/__init__.py
+++ b/wrappers/python/eduvpn_common/__init__.py
@@ -1 +1 @@
-__version__ = "1.1.2"
+__version__ = "2.0.0"
diff --git a/wrappers/python/example/main.py b/wrappers/python/example/main.py
index 6df3b40..ce5359f 100644
--- a/wrappers/python/example/main.py
+++ b/wrappers/python/example/main.py
@@ -98,7 +98,7 @@ def do_secure_internet(edu: eduvpn.EduVPN) -> Optional[Config]:
# The main entry point
if __name__ == "__main__":
- _eduvpn = eduvpn.EduVPN("org.eduvpn.app.linux", "1.1.2-cli-py", "configs", "en")
+ _eduvpn = eduvpn.EduVPN("org.eduvpn.app.linux", "2.0.0-cli-py", "configs", "en")
setup_callbacks(_eduvpn)
# Register with the eduVPN-common library
diff --git a/wrappers/python/setup.py b/wrappers/python/setup.py
index 8637032..f19be57 100755
--- a/wrappers/python/setup.py
+++ b/wrappers/python/setup.py
@@ -10,7 +10,7 @@ from setuptools import setup
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
_libname = "eduvpn_common"
-__version__ = "1.1.2"
+__version__ = "2.0.0"
def getlibpath(plat_name: str) -> typing.Union[str, None]: