# HG changeset patch # User Thomas De Schampheleire # Date 2020-01-18 20:17:31 # Node ID 8f51a05b9856ddd1f4a78136752f22ec0d2d4f19 # Parent 155c52d8f210ccc004c8b8bc4cd5b7615039623b scripts/make-release: fix check of dist file content after commit 7c7d6b5c07c7 The kallithea repo recently gained a .mo file for English, but all .mo files are filtered out when comparing the list of files in the tarball. Fix by filtering out the new .mo file when getting the repo manifest. diff --git a/scripts/make-release b/scripts/make-release --- a/scripts/make-release +++ b/scripts/make-release @@ -46,7 +46,7 @@ ls -l $(pwd)/dist/$namerel.tar.gz echo "Releasing Kallithea $version in directory $namerel" echo "Verify dist file content" -diff -u <((hg mani | grep -v '^\.hg') | LANG=C sort) <(tar tf dist/Kallithea-$version.tar.gz | sed "s|^$namerel/||" | grep . | grep -v '^kallithea/i18n/.*/LC_MESSAGES/kallithea.mo$\|^Kallithea.egg-info/\|^PKG-INFO$\|/$' | LANG=C sort) +diff -u <((hg mani | grep -v '^\.hg\|^kallithea/i18n/en/LC_MESSAGES/kallithea.mo$') | LANG=C sort) <(tar tf dist/Kallithea-$version.tar.gz | sed "s|^$namerel/||" | grep . | grep -v '^kallithea/i18n/.*/LC_MESSAGES/kallithea.mo$\|^Kallithea.egg-info/\|^PKG-INFO$\|/$' | LANG=C sort) echo "Verify docs build" python2 setup.py build_sphinx # the results are not actually used, but we want to make sure it builds