Skip to content

Commit

Permalink
allow external definition of minAliceVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp2310 committed Dec 30, 2021
1 parent 942baa7 commit 4606606
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions ProjectAliceSK/create/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ def createFromFile(self) -> bool:
'description' : data['description'],
'langs' : data['langs'],
'icon' : data.get('icon', 'fas fa-biohazard'),
'createInstructions': data['createInstructions']
'createInstructions': data['createInstructions'],
'aliceMinVersion' : data.get('aliceMinVersion', '1.0.0-rc3')
}

self._skillPath = Path.home() / 'ProjectAliceSkillKit' / self._general['username'] / self._general['skillName']
Expand All @@ -147,7 +148,7 @@ def createFromFile(self) -> bool:
'author' : self._general['username'],
'maintainers' : [],
'desc' : self._general['description'],
'aliceMinVersion' : '1.0.0-rc1',
'aliceMinVersion' : self._general['aliceMinVersion'],
'pipRequirements' : data['pipreq'],
'systemRequirements': data['sysreq'],
'conditions' : data['conditions']
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
setup(
name='projectalice-sk',
author='ProjectAlice',
version='2.2.4',
version='2.2.5',
maintainer='Psychokiller1888',
maintainer_email='[email protected]',
description='Project Alice skill kit',
Expand Down

0 comments on commit 4606606

Please sign in to comment.