diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index e0e597b..b1c3fd2 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -39,7 +39,7 @@ jobs: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: | - twine upload --repository-url https://git.wrede.ca/api/packages/andreas/pypi dist/* + python -m twine upload --repository-url https://git.wrede.ca/api/packages/andreas/pypi dist/* - name: Create release uses: actions/gitea-release-action@v1 diff --git a/hbd/__init__.py b/hbd/__init__.py index cc5109b..999fc07 100644 --- a/hbd/__init__.py +++ b/hbd/__init__.py @@ -14,4 +14,4 @@ Install options: """ __all__ = ["__version__"] -__version__ = "5.0.9" +__version__ = "5.0.10" diff --git a/pyproject.toml b/pyproject.toml index 733bd49..019a281 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "hbd" -version = "5.0.9" +version = "5.0.10" description = "Heartbeat monitoring system — client (hbc) and server (hbd)" readme = "README.md" requires-python = ">=3.11" diff --git a/scripts/install.sh b/scripts/install.sh index 5a986e9..f9e5fbc 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,6 +1,16 @@ #!/bin/sh -# install hbd/hbc from wheel and create symlinks for hbd and hbc in ~/bin +# install the heartbeat tools. By default, this will install the hbc +# client only. The server is installed when the arg 'server' is passed +# to the script. The script will install the heartbeat tools in a python +# virtual environment in ~/venvs/hbd. The hbd and hbc commands will be +# installed from the wheel and symlinked to ~/bin/hbd and ~/bin/hbc, +# respectively. If the virtual environment already exists, it will be +# reused. The script will also remove any existing symlinks for hbd and hbc +# in ~/bin before creating new ones. + + +# hbd/hbc from wheel and create symlinks for hbd and hbc in ~/bin set -e if [ ! -d ~/venvs/hbd ]; then