Skip to content

Commit 1e93b47

Browse files
committed
0.56.4
1 parent 29cfd96 commit 1e93b47

5 files changed

Lines changed: 14 additions & 4 deletions

File tree

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ setup-openapi: ## Initialize or update OpenAPI submodule
2424
git submodule update --remote mist_openapi
2525

2626
generate: setup-openapi ## Run the code generation script
27+
git submodule update --remote mist_openapi
28+
echo "Updating version in pyproject.toml to $(VERSION)"
29+
sed -e "s/version = .*/version = \"$(VERSION)\"/g" pyproject.toml > new_pyproject.toml
30+
mv new_pyproject.toml pyproject.toml
31+
echo "Updating version in __version.py to $(VERSION)"
32+
sed -e "s/__version__ = .*/__version__ = \"$(VERSION)\"/g" ./src/mistapi/__version.py > ./src/mistapi/new__version.py
33+
mv ./src/mistapi/new__version.py ./src/mistapi/__version.py
34+
echo "Updating version in __init__.py to $(VERSION)"
35+
sed -e "s/__version__ = .*/__version__ = \"$(VERSION)\"/g" ./src/mistapi/__init__.py > ./src/mistapi/__init__.py.new
36+
mv ./src/mistapi/__init__.py.new ./src/mistapi/__init__.py
2737
uv run python generate_from_openapi.py $(VERSION)
2838
$(MAKE) format
2939

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "mistapi"
7-
version = "0.56.3"
7+
version = "0.56.4"
88
authors = [{ name = "Thomas Munzer", email = "tmunzer@juniper.net" }]
99
description = "Python package to simplify the Mist System APIs usage"
1010
keywords = ["Mist", "Juniper", "API"]

src/mistapi/__version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "0.56.3"
1+
__version__ = "0.56.4"
22
__author__ = "Thomas Munzer <tmunzer@juniper.net>"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)