blob: 6c6251155732e2521dd082441914cb2b54a7ced6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env python3
import sys
REPO = 'netdata/netdata'
version = sys.argv[1].split('.')
MAJOR = ':'.join([REPO, version[0]])
MINOR = ':'.join([REPO, '.'.join(version[0:2])])
PATCH = ':'.join([REPO, '.'.join(version[0:3])])
print(','.join([MAJOR, MINOR, PATCH]))
|