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
b24c854b
Commit
b24c854b
authored
Mar 09, 2020
by
Noah Hilverling
Browse files
Fix snapshot version
parent
15627225
Pipeline
#9225
passed with stages
in 77 minutes and 13 seconds
Changes
1
Pipelines
13
Hide whitespace changes
Inline
Side-by-side
get_snapshot
View file @
b24c854b
...
...
@@ -58,9 +58,9 @@ fi
git_version
=
$(
git describe
--tags
"
${
UPSTREAM_GIT_BRANCH
}
"
)
# TEMP: Fixup version for 2.11.
2
- so that it is displayed as 2.11.
2
# TEMP: Fixup version for 2.11.
3
- so that it is displayed as 2.11.
3
if
[[
"
$git_version
"
=
v2.11.0
*
]]
;
then
git_version
=
"
$(
echo
"
$git_version
"
|
sed
s/2.11.0/2.11.
2
/
)
"
git_version
=
"
$(
echo
"
$git_version
"
|
sed
s/2.11.0/2.11.
3
/
)
"
fi
if
[
`
echo
"
$git_version
"
|
grep
-v
-E
'(g[0-9a-f]+)$'
`
]
;
then
...
...
Write
Preview
Supports
Markdown
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