mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-14 17:59:48 +00:00
Prefix sha to fix leading zeros being stripped
/dist.py:352: UserWarning: Normalizing '1.0.0a1402+0965847' to '1.0.0a1402+965847'
This commit is contained in:
parent
ceb82ecc7b
commit
54ea52c86f
2
setup.py
2
setup.py
@ -32,7 +32,7 @@ if version.endswith(('a', 'b', 'rc')):
|
||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
out, err = p.communicate()
|
||||
if out:
|
||||
version += '+' + out.decode('utf-8').strip()
|
||||
version += '+g' + out.decode('utf-8').strip()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user