From 3e9065759146e58c81ee666895b8d6ce10fedc5a Mon Sep 17 00:00:00 2001 From: Erik Jaegervall Date: Tue, 21 Nov 2023 14:09:48 +0100 Subject: [PATCH] Update version to 0.3.0 --- hvac_service/setup.py | 2 +- integration_test/setup.py | 2 +- prepare_release.sh | 16 +--------------- 3 files changed, 3 insertions(+), 17 deletions(-) diff --git a/hvac_service/setup.py b/hvac_service/setup.py index e3873ef..d866eed 100644 --- a/hvac_service/setup.py +++ b/hvac_service/setup.py @@ -13,7 +13,7 @@ from setuptools import find_packages, setup -PKG_VERSION = "v0.1.0" +PKG_VERSION = "v0.3.0" pkg_packages = find_packages() diff --git a/integration_test/setup.py b/integration_test/setup.py index bfb7833..9e71e11 100644 --- a/integration_test/setup.py +++ b/integration_test/setup.py @@ -13,7 +13,7 @@ from setuptools import find_packages, setup -PKG_VERSION = "v0.1.0" +PKG_VERSION = "v0.3.0" pkg_packages = find_packages() diff --git a/prepare_release.sh b/prepare_release.sh index 68513f2..f130ec0 100755 --- a/prepare_release.sh +++ b/prepare_release.sh @@ -28,25 +28,11 @@ fi REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" -WORKFLOWS_ROOT="$REPO_ROOT/.github/workflows" -# Update workflow versions. -sed -i -E "s/(^.*):v${VERSION_REGEX}(.*)$/\1:v${VERSION}/" \ - "$WORKFLOWS_ROOT/seat_service_build.yml" \ - "$WORKFLOWS_ROOT/seat_service_docu_build.yml" \ - "$WORKFLOWS_ROOT/seat_service_release.yml" \ - "$WORKFLOWS_ROOT/seat_service_seatctrl_test.yml" - DOCKERDEV_ROOT="$REPO_ROOT/.devcontainer" -# Update docker dev files. -sed -i -E "s/(^.*):v${VERSION_REGEX}(.*)$/\1:v${VERSION}/" \ - "$DOCKERDEV_ROOT/Dockerfile" # replace python package versions PYTHON_ROOT="$REPO_ROOT" -sed -i -E "s/^[[:space:]]*PKG_VERSION[[:space:]]*=[[:space:]]*\"(.*)\"\$/PKG_VERSION=\"v${VERSION}\"/" \ +sed -i -E "s/^[[:space:]]*PKG_VERSION[[:space:]]*=[[:space:]]*\"(.*)\"\$/PKG_VERSION = \"v${VERSION}\"/" \ "$PYTHON_ROOT/integration_test/setup.py" \ "$PYTHON_ROOT/hvac_service/setup.py" -# Create release commit and tag it -#git commit -a -m "Release ${VERSION}" -#git tag -a "v${VERSION}" -m "Release ${VERSION}"