Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
273bbd20
Commit
273bbd20
authored
Jul 16, 2020
by
Albert Salim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Format semver gitaly version
parent
232c82b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
scripts/review_apps/review-apps.sh
scripts/review_apps/review-apps.sh
+4
-4
No files found.
scripts/review_apps/review-apps.sh
View file @
273bbd20
...
@@ -294,11 +294,11 @@ function base_config_changed() {
...
@@ -294,11 +294,11 @@ function base_config_changed() {
function
parse_gitaly_image_tag
()
{
function
parse_gitaly_image_tag
()
{
local
gitaly_version
=
"
${
GITALY_VERSION
}
"
local
gitaly_version
=
"
${
GITALY_VERSION
}
"
# returns sha if gitaly_version uses a sha
# prepend semver version with `v`
if
[[
${#
gitaly_version
}
-eq
40
]]
;
then
if
[[
$gitaly_version
=
~ ^[0-9]+
\.
[
0-9]+
\.
[
0-9]+
(
-rc
[
0-9]+
)
?
(
-ee
)
?
$
]]
;
then
echo
"
${
gitaly_version
}
"
else
echo
"v
${
gitaly_version
}
"
echo
"v
${
gitaly_version
}
"
else
echo
"
${
gitaly_version
}
"
fi
fi
}
}
...
...
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