Mercurial > kallithea
changeset 8097:8f51a05b9856 stable
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.
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> |
---|---|
date | Sat, 18 Jan 2020 21:17:31 +0100 |
parents | 155c52d8f210 |
children | 27d6f56ade84 |
files | scripts/make-release |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/make-release Sun Dec 29 15:31:25 2019 +0100 +++ b/scripts/make-release Sat Jan 18 21:17:31 2020 +0100 @@ -46,7 +46,7 @@ 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