mirror of https://github.com/Syncplay/syncplay
12 lines
216 B
Python
12 lines
216 B
Python
|
#!/usr/bin/env python3
|
||
|
|
||
|
import json
|
||
|
from syncplay import version
|
||
|
|
||
|
f = open('bintray.json', 'r')
|
||
|
data = json.load(f)
|
||
|
|
||
|
data['version']['name'] = 'v' + version
|
||
|
|
||
|
g = open('bintray.json', 'w')
|
||
|
json.dump(data, g, indent=4)
|