Files
ProxLB/misc/01-replace-version.sh
gyptazy 360920433a fix
2025-03-02 16:55:44 +01:00

6 lines
260 B
Bash

#!/usr/bin/env bash
VERSION="1.1.0-alpha"
sed -i "s/^__version__ = .*/__version__ = \"$VERSION\"/" "proxlb/utils/version.py"
sed -i "s/version=\"[0-9]*\.[0-9]*\.[0-9]*\"/version=\"$VERSION\"/" setup.py
echo "OK: Versions have been sucessfully set to $VERSION"