Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
Update version to 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbosch committed Nov 21, 2023
1 parent 1e6d183 commit 3e90657
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
2 changes: 1 addition & 1 deletion hvac_service/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

from setuptools import find_packages, setup

PKG_VERSION = "v0.1.0"
PKG_VERSION = "v0.3.0"

pkg_packages = find_packages()

Expand Down
2 changes: 1 addition & 1 deletion integration_test/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

from setuptools import find_packages, setup

PKG_VERSION = "v0.1.0"
PKG_VERSION = "v0.3.0"

pkg_packages = find_packages()

Expand Down
16 changes: 1 addition & 15 deletions prepare_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit 3e90657

Please sign in to comment.