From 1b56bcbafc2a8df285ca3c05e671fdf1ef65d116 Mon Sep 17 00:00:00 2001 From: Janis Streib <me@janis-streib.de> Date: Mon, 5 Dec 2022 13:01:04 +0100 Subject: [PATCH] ADD: devel branch --- .gitlab-ci.yml | 4 +++- setup.py | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9c75a77..bc08833 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,6 +24,8 @@ before_script: - python3 -V # Print out python version for debugging - pip3 install build - python3 -m venv || apt-get -y install python3-venv + - if [[ "$CI_COMMIT_BRANCH" != "master" ]]; then sed -i "s%git+https://git.scc.kit.edu/scc-net/net-suite/api-generator.git@master%git+https://git.scc.kit.edu/scc-net/net-suite/api-generator.git@${CI_COMMIT_BRNACH}%g" pyproject.toml; fi + stages: - build @@ -38,4 +40,4 @@ build: expire_in: 2 days only: - master - - api31_pgg_restructure + - devel diff --git a/setup.py b/setup.py index cadb583..eaf2f63 100644 --- a/setup.py +++ b/setup.py @@ -6,8 +6,8 @@ import os class APIGenBuild(build_py): def run(self): - build_versions = ['3.0', '3.1', '3.2'] - default_version = '3.2' + build_versions = ['3.0', '3.1', '3.2', '4.0'] + default_version = '4.0' environ = os.environ.copy() if not environ.get('NETDB_TOKEN', False): build_versions.remove('3.0') @@ -24,9 +24,9 @@ class APIGenBuild(build_py): setup( name='netdb_client', - version='3.2', + version='4.0', author='Dr. Meta', - description='This is a meta package to install the automatically generated NET-API 3.0, 3.1 and 3.2 definitions.', + description='This is a meta package to install the automatically generated NET-API 3.0, 3.1, 3.2 and 4.0 definitions.', url='https://git.scc.kit.edu/scc-net/net-suite/netdb-client-lib', install_requires=['requests'], python_requires='>=3.7', -- GitLab