Bugfix version

This commit is contained in:
JensDiemer 2022-08-14 14:41:54 +02:00
parent 2b68910b8e
commit 796b822b6c
3 changed files with 4 additions and 2 deletions

View file

@ -5,7 +5,7 @@
"description": {
"en": "Demo YunoHost Application to demonstrate the integration of a Django project under YunoHost via https://github.com/YunoHost-Apps/django_yunohost_integration"
},
"version": "v0.3.0~ynh1",
"version": "0.3.0~ynh1",
"url": "https://github.com/YunoHost-Apps/django_example_ynh",
"upstream": {
"license": "GPL-3.0",

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "django_example_ynh"
version = "v0.3.0"
version = "0.3.0"
description = "Demo YunoHost Application to demonstrate the integration of a Django project under YunoHost."
authors = ["JensDiemer <git@jensdiemer.de>"]
license = "GPL"

View file

@ -21,6 +21,8 @@ def test_version():
pyproject_toml_path = Path(PACKAGE_ROOT, 'pyproject.toml')
pyproject_toml = tomli.loads(pyproject_toml_path.read_text(encoding='UTF-8'))
version = pyproject_toml['tool']['poetry']['version']
assert '~ynh' not in version
assert version[0].isdigit()
assert_file_contains_string(
file_path=Path(PACKAGE_ROOT, 'manifest.json'),