diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-03-01 15:20:55 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-03-01 15:20:55 +0100 |
| commit | 56e65da14612516103e152524d19763ceb28013f (patch) | |
| tree | 7dcbbc3bebea9c0b5fc8df9e44142cb80dccee67 | |
| parent | 48a6b4c90f0e4e0beb7c30e6351ab2b4352e4f5d (diff) | |
Version: Update to 1.0.0
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | cmd/cli/main.go | 2 | ||||
| -rw-r--r-- | docs/src/gettingstarted/building/example.md | 2 | ||||
| -rw-r--r-- | exports/common.mk | 2 | ||||
| -rw-r--r-- | internal/http/http.go | 2 | ||||
| -rw-r--r-- | wrappers/python/docs/source/conf.py | 2 | ||||
| -rw-r--r-- | wrappers/python/eduvpn_common/__init__.py | 2 | ||||
| -rw-r--r-- | wrappers/python/example/main.py | 2 | ||||
| -rwxr-xr-x | wrappers/python/setup.py | 2 |
9 files changed, 10 insertions, 10 deletions
@@ -35,9 +35,9 @@ srpm: rm -rf dist/* # Archive code with vendored dependencies - git clone . dist/libeduvpn-common-0.99.0 + git clone . dist/libeduvpn-common-1.0.0 go mod vendor - cp -r vendor dist/libeduvpn-common-0.99.0/vendor + cp -r vendor dist/libeduvpn-common-1.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 8f94673..bbda060 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -124,7 +124,7 @@ func printConfig(url string, srvType ServerTypes) { err := c.Register( "org.eduvpn.app.linux", - "0.0.1", + "1.0.0-cli", "configs", "en", func(old client.FSMStateID, new client.FSMStateID, data interface{}) bool { diff --git a/docs/src/gettingstarted/building/example.md b/docs/src/gettingstarted/building/example.md index 92171b8..57405f4 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-0.99.0-py3-none-linux_x86_64.whl +pip install wrappers/python/dist/eduvpncommon-1.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 00e1c63..02c21c2 100644 --- a/exports/common.mk +++ b/exports/common.mk @@ -19,7 +19,7 @@ LIB_SUFFIX ?= .so endif # Current version -VERSION = 0.99.0 +VERSION = 1.0.0 # Library name without prefixes/suffixes LIB_NAME ?= eduvpn_common diff --git a/internal/http/http.go b/internal/http/http.go index a539671..c31ed5e 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/0.99.0") + UserAgent = fmt.Sprintf("%s/%s %s", client, version, "eduvpn-common/1.0.0") } diff --git a/wrappers/python/docs/source/conf.py b/wrappers/python/docs/source/conf.py index 1833c8f..5a8f75e 100644 --- a/wrappers/python/docs/source/conf.py +++ b/wrappers/python/docs/source/conf.py @@ -10,7 +10,7 @@ import sphinx_rtd_theme project = 'python-eduvpn-common' copyright = '2023, Jeroen Wijenbergh' author = 'Jeroen Wijenbergh' -release = '0.99.0' +release = '1.0.0' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/wrappers/python/eduvpn_common/__init__.py b/wrappers/python/eduvpn_common/__init__.py index c0f51b7..5becc17 100644 --- a/wrappers/python/eduvpn_common/__init__.py +++ b/wrappers/python/eduvpn_common/__init__.py @@ -1 +1 @@ -__version__ = "0.99.0" +__version__ = "1.0.0" diff --git a/wrappers/python/example/main.py b/wrappers/python/example/main.py index 068bc20..04cf5b5 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", "configs", "en") + _eduvpn = eduvpn.EduVPN("org.eduvpn.app.linux", "1.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 792ed84..a994fd3 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__ = "0.99.0" +__version__ = "1.0.0" def getlibpath(plat_name: str) -> typing.Union[str, None]: """Get library path for plat_name relative to exports/lib/ folder.""" |
