Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
packaging
deb-icinga2
Commits
15627225
Commit
15627225
authored
Jan 09, 2020
by
Noah Hilverling
Browse files
Temporary fix snapshot version
parent
ddb3ad70
Pipeline
#8707
passed with stages
in 72 minutes and 24 seconds
Changes
1
Pipelines
27
Hide whitespace changes
Inline
Side-by-side
get_snapshot
View file @
15627225
...
...
@@ -58,9 +58,9 @@ fi
git_version
=
$(
git describe
--tags
"
${
UPSTREAM_GIT_BRANCH
}
"
)
# TEMP: Fixup version for 2.11.
0
- so that it is
newer than
2.11.
0+rc1
# TEMP: Fixup version for 2.11.
2
- so that it is
displayed as
2.11.
2
if
[[
"
$git_version
"
=
v2.11.0
*
]]
;
then
git_version
=
"
$(
echo
"
$git_version
"
|
sed
s/2.11.0/2.11.
1
/
)
"
git_version
=
"
$(
echo
"
$git_version
"
|
sed
s/2.11.0/2.11.
2
/
)
"
fi
if
[
`
echo
"
$git_version
"
|
grep
-v
-E
'(g[0-9a-f]+)$'
`
]
;
then
...
...
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