Skip to content

Commit

Permalink
Merge branch 'release/v1.5.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Nunes committed Jul 11, 2016
2 parents c31bbcd + 9a38402 commit d7856ff
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 4 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ Changelog
=========


1.5.3 (2016-07-11)

* Fixed issue with warnings.
* Updated schema to be in line with the latest versions of mod managers.


----------------------------------


1.5.2 (2016-06-29)

* Fixed version lookup in remote.
Expand Down
2 changes: 1 addition & 1 deletion fomod/validator/warnings.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def check_warnings(package_path, elem_tree=None, ignore_errors=False):
:param ignore_errors: If true, the function returns False instead of throwing an error.
"""
try:
if not elem_tree:
if elem_tree is None:
fomod_folder = check_fomod(package_path)
config_file = check_file(join(package_path, fomod_folder))
config_root = etree.parse(join(package_path, fomod_folder, config_file)).getroot()
Expand Down
2 changes: 1 addition & 1 deletion resources/mod_schema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@
<xs:documentation>The optional image associated with a plugin.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:choice minOccurs="0">
<xs:sequence>
<xs:element name="files" type="fileList">
<xs:annotation>
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.5.2
current_version = 1.5.3
current_build = 0

[bumpversion:file:setup.py]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='fomod-validator',
version='1.5.2',
version='1.5.3',
license='Apache 2.0',
description='',
long_description='',
Expand Down
7 changes: 7 additions & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ def clean():
print("Build caches cleaned.")


@task(clean)
def upload():
from os import system
system("python setup.py sdist bdist_wheel")
system("twine upload dist/*")


@task(clean)
def build():
from platform import system, architecture
Expand Down

0 comments on commit d7856ff

Please sign in to comment.