summaryrefslogtreecommitdiff
path: root/prepare-release
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-06-04 20:45:07 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-06-04 20:45:07 +0200
commit382704d532b9a02237fe5706592858bbffec3862 (patch)
treecf257bfd90cea6620540549c9d6c4ba6a3baa8b3 /prepare-release
parent8f7cee4410c7fdbc66af6a232c6900b3ceb48b48 (diff)
prepare-release: ignore newer version symbols
The script takes the version from the changelog, but if it lacks behind and the symbols file already includes symbols tagged for the next version the helper prints incorrect lines as NEW for these symbols, but ideally it shouldn't print them at all as the symbol is already dealt with. Git-Dch: Ignore
Diffstat (limited to 'prepare-release')
-rwxr-xr-xprepare-release2
1 files changed, 1 insertions, 1 deletions
diff --git a/prepare-release b/prepare-release
index 731eb1096..18fd3af94 100755
--- a/prepare-release
+++ b/prepare-release
@@ -21,7 +21,7 @@ librarysymbolsfromfile() {
echo '=== Missing required symbols:'
echo -n "$MISSING" | grep -v '|optional=' || true
echo '=== New symbols:'
- grep '^+ ' "$1" | cut -d' ' -f 2 | cut -d'@' -f 1 | c++filt | while read line; do
+ grep '^+ ' "$1" | grep -v '^+ (c++' | cut -d' ' -f 2 | cut -d'@' -f 1 | c++filt | while read line; do
echo " (c++)\"${line}@${SYMVER}\" $VERSION"
done | sort -u
}