Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
squeekboard
Commits
630cfc8e
Commit
630cfc8e
authored
Jan 24, 2021
by
Dorota Czaplejewicz
Browse files
CI: fix xheck_tag to be compatible with Amber
parent
2a11bce9
Pipeline
#63596
passed with stages
in 20 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
debian/check_release.py
View file @
630cfc8e
...
...
@@ -5,6 +5,7 @@ Feed it the first changelog line, and then all available tags.
"""
import
re
,
sys
tag
=
"v"
+
re
.
findall
(
"
\\
((.*)
\\
)"
,
input
())[
0
]
version
=
re
.
findall
(
"
\\
((.*)
\\
)"
,
input
())[
0
]
tag
=
'v'
+
re
.
findall
(
"([0-9]+
\\
.[0-9]+
\\
.[0-9]+).*"
,
version
)[
0
]
if
tag
not
in
map
(
str
.
strip
,
sys
.
stdin
.
readlines
()):
raise
Exception
(
"Changelog's current version doesn't have a tag. Push the tag!"
)
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