Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
deb-icinga2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
packaging
deb-icinga2
Commits
b24c854b
Commit
b24c854b
authored
5 years ago
by
Noah Hilverling
Browse files
Options
Downloads
Patches
Plain Diff
Fix snapshot version
parent
15627225
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#9225
passed
4 years ago
Stage: source
Stage: binary
Stage: test
Stage: upload
Changes
1
Pipelines
13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
get_snapshot
+2
-2
2 additions, 2 deletions
get_snapshot
with
2 additions
and
2 deletions
get_snapshot
+
2
−
2
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment