diff --git a/action.yaml b/action.yaml index 62cbd1da8..8838ca3eb 100644 --- a/action.yaml +++ b/action.yaml @@ -230,4 +230,6 @@ runs: - name: Install shell: bash - run: sudo python3 -m pip install git+https://github.com/systemd/mkosi.git + run: sudo python3 -m pip install git+https://github.com/systemd/mkosi.git@$MKOSI_TAG + env: + MKOSI_TAG: v9 diff --git a/mkosi/__init__.py b/mkosi/__init__.py index 4d901949a..075f1b15c 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -58,7 +58,7 @@ from .printer import MkosiPrinter -__version__ = "8" +__version__ = "9" # These types are only generic during type checking and not at runtime, leading diff --git a/setup.py b/setup.py index a739b0adb..d6bb83916 100755 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ def run(self): setup( name="mkosi", - version="8", + version="9", description="Create legacy-free OS images", url="https://github.com/systemd/mkosi", maintainer="mkosi contributors", diff --git a/tools/do-a-release.sh b/tools/do-a-release.sh index 6b82ed04c..8848a9eb1 100755 --- a/tools/do-a-release.sh +++ b/tools/do-a-release.sh @@ -7,9 +7,10 @@ if [ x"$1" == x ] ; then fi sed -i 's/version=".*",/version="'"$1"'",/' setup.py -sed -i "s/__version__ = '.*'/__version__ = '$1'/" mkosi/__init__.py +sed -i "s/__version__ = \".*\"/__version__ = \"$1\"/" mkosi/__init__.py +sed -i "s/MKOSI_TAG: '.*'/MKOSI_TAG: $1/" action.yaml -git add -p setup.py mkosi +git add -p setup.py mkosi action.yaml pandoc -t man -s -o man/mkosi.1 mkosi.md git add man/mkosi.1