mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 17:13:56 +00:00
Fix classifiers stage detector.
This commit is contained in:
parent
81d126e377
commit
e42b551f2a
1 changed files with 4 additions and 4 deletions
|
|
@ -53,13 +53,13 @@ class Version:
|
|||
|
||||
@property
|
||||
def pypi_development_status(self):
|
||||
if self.build == Stage.DEV:
|
||||
if self.stage == Stage.DEV:
|
||||
status = '2 - Pre-Alpha'
|
||||
elif self.build == Stage.ALPHA:
|
||||
elif self.stage == Stage.ALPHA:
|
||||
status = '3 - Alpha'
|
||||
elif self.build == Stage.BETA:
|
||||
elif self.stage == Stage.BETA:
|
||||
status = '4 - Beta'
|
||||
elif self.build == Stage.FINAL:
|
||||
elif self.stage == Stage.FINAL:
|
||||
status = '5 - Production/Stable'
|
||||
else:
|
||||
status = '1 - Planning'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue