Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
funkwhale
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
170
Issues
170
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
funkwhale
funkwhale
Commits
3dafa85a
Verified
Commit
3dafa85a
authored
May 16, 2019
by
Agate
💬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into develop
parents
0c79794a
17cb19ec
Pipeline
#4156
passed with stages
in 9 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
docs/get-releases-json.py
docs/get-releases-json.py
+9
-1
No files found.
docs/get-releases-json.py
View file @
3dafa85a
...
...
@@ -21,7 +21,15 @@ def get_versions():
continue
tags
.
append
({
"id"
:
tag
,
"date"
:
date
})
return
sorted
(
tags
,
key
=
lambda
tag
:
StrictVersion
(
tag
[
"id"
]),
reverse
=
True
)
valid
=
[]
for
tag
in
tags
:
try
:
StrictVersion
(
tag
[
"id"
])
valid
.
append
(
tag
)
except
ValueError
:
continue
return
sorted
(
valid
,
key
=
lambda
tag
:
StrictVersion
(
tag
[
"id"
]),
reverse
=
True
)
def
main
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment