syncplay/bintray_version.py

15 lines
253 B
Python
Raw Normal View History

#!/usr/bin/env python3
import json
from syncplay import version
2019-04-30 22:11:58 +00:00
bintrayFileName = 'bintray.json'
f = open(bintrayFileName, 'r')
data = json.load(f)
data['version']['name'] = 'v' + version
2019-04-30 22:11:58 +00:00
g = open(bintrayFileName, 'w')
2018-07-24 16:05:49 +00:00
json.dump(data, g, indent=4)