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
bbf926a4
Commit
bbf926a4
authored
Dec 04, 2008
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix release checking in universal manner
parent
3e920915
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
rpmbs
bin/rpmbs
+3
-2
No files found.
bin/rpmbs
View file @
bbf926a4
...
@@ -121,7 +121,7 @@ function release_check()
...
@@ -121,7 +121,7 @@ function release_check()
{
{
if
[
"
$MENV
"
=
"SS"
]
||
[
"
$MENV
"
=
"DD"
]
;
then
if
[
"
$MENV
"
=
"SS"
]
||
[
"
$MENV
"
=
"DD"
]
;
then
for
i
in
$@
;
do
for
i
in
$@
;
do
if
[
-z
"
${
i
/*alt
0
.M[0-9][0-9]*/
}
"
]
;
then
if
[
-z
"
${
i
/*alt
[0-9]
.M[0-9][0-9]*/
}
"
]
;
then
#
#
fatal
"Incorrect release in
$i
package: was prepared for Sisyphus"
fatal
"Incorrect release in
$i
package: was prepared for Sisyphus"
fi
fi
...
@@ -129,7 +129,7 @@ function release_check()
...
@@ -129,7 +129,7 @@ function release_check()
return
return
fi
fi
for
i
in
$@
;
do
for
i
in
$@
;
do
if
[
-n
"
${
i
/*alt
0
.
$MENV
*/
}
"
]
;
then
if
[
-n
"
${
i
/*alt
[0-9]
.
$MENV
*/
}
"
]
;
then
#
#
fatal
"Incorrect release in
$i
package: was prepared for
$MENV
"
fatal
"Incorrect release in
$i
package: was prepared for
$MENV
"
fi
fi
...
@@ -155,6 +155,7 @@ if [ -n "$SIGN" ]; then
...
@@ -155,6 +155,7 @@ if [ -n "$SIGN" ]; then
release_check
$LISTBUILT
release_check
$LISTBUILT
# create tag according to package release
# create tag according to package release
if
is_git
$SPECDIR
;
then
if
is_git
$SPECDIR
;
then
# needed corrent user.name/user.email for get GPG id
gear-create-tag
--force
gear-create-tag
--force
# git push ?
# git push ?
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