diff --git a/misc/01-replace-version.sh b/misc/01-replace-version.sh index 9528f0e..b7da816 100644 --- a/misc/01-replace-version.sh +++ b/misc/01-replace-version.sh @@ -1,6 +1,12 @@ #!/usr/bin/env bash VERSION="1.1.4" +# ProxLB sed -i "s/^__version__ = .*/__version__ = \"$VERSION\"/" "proxlb/utils/version.py" sed -i "s/version=\"[0-9]*\.[0-9]*\.[0-9]*\"/version=\"$VERSION\"/" setup.py + +# Helm Chart +sed -i "s/^version: .*/version: \"$VERSION\"/" helm/proxlb/Chart.yaml +sed -i "s/^appVersion: .*/appVersion: \"v$VERSION\"/" helm/proxlb/Chart.yaml + echo "OK: Versions have been sucessfully set to $VERSION"