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
a09634f8
Commit
a09634f8
authored
Jun 05, 2013
by
Christos Stavrakakis
Browse files
Add option for source-only builds.
parent
8c0550d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
devflow/autopkg.py
View file @
a09634f8
...
...
@@ -136,6 +136,12 @@ def main():
help
=
"If running in snapshot mode, automatically set"
" the changelog distribution to this value"
" (default=unstable)."
)
parser
.
add_option
(
"-S"
,
"--source-only"
,
dest
=
"source_only"
,
default
=
False
,
action
=
"store_true"
,
help
=
"Specifies a source-only build, no binary packages"
" need to be made."
)
(
options
,
args
)
=
parser
.
parse_args
()
...
...
@@ -280,6 +286,8 @@ def main():
" --git-upstream-tag=%s"
\
%
(
build_dir
,
branch
,
debian_branch
,
ignore_regexp
,
upstream_tag
)
if
options
.
source_only
:
build_cmd
+=
" -S"
if
not
options
.
sign
:
build_cmd
+=
" -uc -us"
elif
options
.
keyid
:
...
...
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