2018-07-21 17:11:46 +00:00
|
|
|
#!/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')
|
2018-07-24 16:05:49 +00:00
|
|
|
json.dump(data, g, indent=4)
|