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
c9c385c0
Commit
c9c385c0
authored
Jan 27, 2013
by
Christos Stavrakakis
Browse files
Add --no-sign option
parent
ce5f5240
Changes
1
Hide whitespace changes
Inline
Side-by-side
devflow/autopkg.py
View file @
c9c385c0
...
...
@@ -116,6 +116,11 @@ def main():
parser
.
add_option
(
"-c"
,
"--config-file"
,
dest
=
"config_file"
,
help
=
"Override default configuration file"
)
parser
.
add_option
(
"--no-sign"
,
dest
=
"sign"
,
action
=
"store_false"
,
default
=
True
,
help
=
"Do not sign the packages"
)
(
options
,
args
)
=
parser
.
parse_args
()
...
...
@@ -246,10 +251,14 @@ def main():
print_green
(
"Build directory: '%s'"
%
build_dir
)
cd
(
repo_dir
)
call
(
"git-buildpackage --git-export-dir=%s --git-upstream-branch=%s"
" --git-debian-branch=%s --git-export=INDEX --git-ignore-new -sa"
" -i\/version\.py --git-upstream-tag=%s"
%
(
build_dir
,
branch
,
debian_branch
,
upstream_tag
))
build_cmd
=
"git-buildpackage --git-export-dir=%s"
\
" --git-upstream-branch=%s --git-debian-branch=%s"
\
" --git-export=INDEX --git-ignore-new -sa"
\
" -i\/version\.py --git-upstream-tag=%s"
\
%
(
build_dir
,
branch
,
debian_branch
,
upstream_tag
)
if
not
options
.
sign
:
build_cmd
+=
" -uc -us"
call
(
build_cmd
)
# Remove cloned repo
if
mode
!=
'release'
and
not
options
.
keep_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