Skip to content

Commit

Permalink
bump version numbers for v9
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanDeMeyer committed Jan 1, 2021
1 parent 8f9882f commit a593f45
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 3 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion mkosi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 3 additions & 2 deletions tools/do-a-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a593f45

Please sign in to comment.