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
ce5f5240
Commit
ce5f5240
authored
Jan 26, 2013
by
Christos Stavrakakis
Browse files
Tag upstream branch with the expected format
git-buildpackage expects tags of the form upstream/%(version)s
parent
8c028e36
Changes
1
Hide whitespace changes
Inline
Side-by-side
devflow/autopkg.py
View file @
ce5f5240
...
...
@@ -196,6 +196,8 @@ def main():
# Tag branch with python version
branch_tag
=
python_version
repo
.
git
.
tag
(
branch_tag
,
branch
)
upstream_tag
=
"upstream/"
+
branch_tag
repo
.
git
.
tag
(
upstream_tag
,
branch
)
# Update changelog
dch
=
git_dch
(
"--debian-branch=%s"
%
debian_branch
,
...
...
@@ -246,8 +248,8 @@ def main():
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"
%
(
build_dir
,
branch
,
debian_branch
))
" -i\/version\.py
--git-upstream-tag=%s
"
%
(
build_dir
,
branch
,
debian_branch
,
upstream_tag
))
# 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