projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0dad1a
)
Check for greater not unequal when looking for a new upstream version
author
Guido Günther
<agx@sigxcpu.org>
Wed, 18 Aug 2010 15:54:26 +0000
(17:54 +0200)
committer
Guido Günther
<agx@sigxcpu.org>
Wed, 18 Aug 2010 15:54:26 +0000
(17:54 +0200)
git-dch
patch
|
blob
|
history
diff --git
a/git-dch
b/git-dch
index
07c8789
..
0089529
100755
(executable)
--- a/
git-dch
+++ b/
git-dch
@@
-127,7
+127,7
@@
def add_changelog_section(msg, distribution, repo, options, cp,
if options.verbose:
print "Found %s." % upstream
new_version = "%s-1" % upstream
- if compare_versions(upstream, cp['Version']):
+ if compare_versions(upstream, cp['Version'])
> 0
:
version['version'] = new_version
except GitRepository:
if options.verbose: