Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
devflow
Commits
4a8d727c
Commit
4a8d727c
authored
Jan 27, 2013
by
Christos Stavrakakis
Browse files
Add --keyid option for signing packages
parent
c9c385c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
devflow/autopkg.py
View file @
4a8d727c
...
...
@@ -121,6 +121,9 @@ def main():
action
=
"store_false"
,
default
=
True
,
help
=
"Do not sign the packages"
)
parser
.
add_option
(
"--key-id"
,
dest
=
"keyid"
,
help
=
"Use this keyid for gpg signing"
)
(
options
,
args
)
=
parser
.
parse_args
()
...
...
@@ -258,6 +261,8 @@ def main():
%
(
build_dir
,
branch
,
debian_branch
,
upstream_tag
)
if
not
options
.
sign
:
build_cmd
+=
" -uc -us"
elif
options
.
keyid
:
build_cmd
+=
" -k
\"
'%s'
\"
"
%
options
.
keyid
call
(
build_cmd
)
# Remove cloned repo
...
...
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