Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
fdb9aea2
Commit
fdb9aea2
authored
Jun 15, 2015
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
functions/alt: improve release checking (failed on release number more than 9)
parent
daebbb20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
alt
share/eterbuild/functions/alt
+3
-3
No files found.
share/eterbuild/functions/alt
View file @
fdb9aea2
...
...
@@ -98,10 +98,10 @@ pkg_release_check()
local
STRELDEF
=
alt
# can be set from korinf config
[
-z
"
$KORINFTARGETRELEASE
"
]
||
STREL
=
$KORINFTARGETRELEASE
# FIXME! broken for release more than 9
if
[
"
$MENV
"
=
"SS"
]
||
[
"
$MENV
"
=
"DD"
]
;
then
for
i
in
$@
;
do
if
[
-z
"
${
i
/*
$STREL
[0-9].M[0-9][0-9]*/
}
"
]
&&
[
-z
"
${
i
/*
$STRELDEF
[0-9].M[0-9][0-9]*/
}
"
]
;
then
if
rhas
"
$i
"
"(
$STREL
|
$STRELDEF
)[0-9]+
\.
M[0-9][0-9]
\.
[0-9]+"
;
then
# Значит не тот релиз
fatal
"Incorrect release in
$i
package: was prepared for Sisyphus"
fi
...
...
@@ -109,7 +109,7 @@ pkg_release_check()
return
fi
for
i
in
$@
;
do
if
[
-n
"
${
i
/*
$STREL
[0-9].
$MENV
*/
}
"
]
&&
[
-n
"
${
i
/*
$STRELDEF
[0-9].
$MENV
*/
}
"
]
;
then
if
!
rhas
"
$i
"
"(
$STREL
|
$STRELDEF
)[0-9]+
\.
$MENV
\.
[0-9]+"
;
then
# Значит не тот релиз
fatal
"Incorrect release in
$i
package: was prepared for
$MENV
(wait for
$STREL
[0-9].
$MENV
)"
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