syncplay/bintray_version.py

13 lines
217 B
Python
Raw Normal View History

#!/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)