mirror of
https://github.com/YunoHost-Apps/django_example_ynh.git
synced 2024-09-03 18:26:21 +02:00
test version in scripts/_common.sh
This commit is contained in:
parent
577017d366
commit
1ce4c3a96d
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ def test_version(package_root=None, version=None):
|
|||
|
||||
assert_file_contains_string(file_path=Path(package_root, 'pyproject.toml'), string=f'version = "{version}"')
|
||||
assert_file_contains_string(file_path=Path(package_root, 'manifest.json'), string=f'"version": "{version}~ynh')
|
||||
assert_file_contains_string(
|
||||
file_path=Path(package_root, 'scripts', '_common.sh'), string=f'"django_ynh=={version}"'
|
||||
)
|
||||
|
||||
|
||||
def test_poetry_check(package_root=None):
|
||||
|
|
Loading…
Reference in a new issue