mirror of
https://github.com/YunoHost-Apps/django_example_ynh.git
synced 2024-09-03 18:26:21 +02:00
Bugfix version
This commit is contained in:
parent
2b68910b8e
commit
796b822b6c
3 changed files with 4 additions and 2 deletions
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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'),
|
||||
|
|
Loading…
Reference in a new issue