FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
netdata/.github/scripts/gen-docker-tags.py at master · feiyunwill/netdata · GitHub
feiyunwill
/
netdata
Public
forked from
netdata/netdata
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
netdata
/
.github
/
scripts
/
gen-docker-tags.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
13 lines (8 loc) · 271 Bytes
Breadcrumbs
netdata
/
.github
/
scripts
/
gen-docker-tags.py
Copy path
File metadata and controls
executable file
·
13 lines (8 loc) · 271 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
]))
Back
|
FazBrowse Home
|
New Git URL