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
a4cb53a2
Commit
a4cb53a2
authored
Dec 13, 2008
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix spec and gear checking for set tag
parent
ec3a38f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
rpmbs
bin/rpmbs
+14
-4
No files found.
bin/rpmbs
View file @
a4cb53a2
...
...
@@ -151,15 +151,25 @@ if [ -n "${DELETENOW}" ]; then
exit
0
fi
if
[
-n
"
$SIGN
"
]
;
then
release_check
$LISTBUILT
check_gear
()
{
local
GEARCTAG
=
gear-create-tag
# create tag according to package release
if
is_git
$SPECDIR
;
then
local
GEARCTAG
=
gear-create-tag
SPECDIR
=
`
dirname
$LISTNAMES
`
if
is_gear
$SPECDIR
;
then
# needed corrent user.name/user.email for get GPG id
$GEARCTAG
--force
# git push ?
fi
}
if
[
-n
"
$SIGN
"
]
;
then
release_check
$LISTBUILT
# workaround about spaces in LISTNAMES
if
[
-r
"
$(
echo
$LISTNAMES
)
"
]
;
then
# if one spec, check gear
check_gear
fi
echog
"Will try to sign follow packages with GPG:
\$
LISTBUILT"
cd
$RPMDIR
/SRPMS
# 1. only rpm command has --addsign 2. do 3 retries
...
...
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