projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d10914
)
backup mkChangelog
author
Michael Andres
<ma@suse.de>
Fri, 25 Oct 2013 13:48:26 +0000
(15:48 +0200)
committer
Michael Andres
<ma@suse.de>
Fri, 25 Oct 2013 13:48:26 +0000
(15:48 +0200)
mkChangelog
patch
|
blob
|
history
diff --git
a/mkChangelog
b/mkChangelog
index
79476b9
..
e06c883
100755
(executable)
--- a/
mkChangelog
+++ b/
mkChangelog
@@
-127,7
+127,7
@@
git status --porcelain | grep '^[^ ?]' | grep -v "$VERSIONFILE\|$CHANGESFILE" &&
# A tag for $LAST_RELEASE must exist!
eval $(getversion)
-
test -e ".git/refs/tags/$LAST_RELEASE"
|| {
+
git rev-parse -q --verify "$LAST_RELEASE" >/dev/null
|| {
Recho "!!!"
Recho "!!! There is no LAST_RELEASE tag '$LAST_RELEASE'. Check manually. "
Recho "!!! (git tag -m 'tagging $LAST_RELEASE' '$LAST_RELEASE' ?commit?)"