mirror of
https://github.com/Syncplay/syncplay
synced 2024-12-19 05:24:31 +00:00
15 lines
253 B
Python
15 lines
253 B
Python
#!/usr/bin/env python3
|
|
|
|
import json
|
|
from syncplay import version
|
|
|
|
bintrayFileName = 'bintray.json'
|
|
|
|
f = open(bintrayFileName, 'r')
|
|
data = json.load(f)
|
|
|
|
data['version']['name'] = 'v' + version
|
|
|
|
g = open(bintrayFileName, 'w')
|
|
json.dump(data, g, indent=4)
|