Changeset - 08de75df7775
[Not reviewed]
default
0 1 0
Thomas De Schampheleire - 7 years ago 2019-03-19 21:43:59
thomas.de_schampheleire@nokia.com
scripts/make-release: print out shortlog for inclusion in release announcements

The revset should generate the correct list compared with the last tagged
release on the stable branch.

The same revset should be used as a basis for release notes.
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
scripts/make-release
Show inline comments
 
@@ -43,24 +43,27 @@ echo "Verify VERSION from kallithea/__in
 
namerel=$(cd dist && echo Kallithea-*.tar.gz)
 
namerel=${namerel%.tar.gz}
 
version=${namerel#Kallithea-}
 
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)
 

	
 
echo "Verify docs build"
 
python2 setup.py build_sphinx # the results are not actually used, but we want to make sure it builds
 

	
 
echo "Shortlog for inclusion in the release announcement"
 
scripts/shortlog.py "only('.', branch('stable') & tagged() & public() & not '.')"
 

	
 
cat - << EOT
 

	
 
Now, make sure
 
* all tests are passing
 
* release note is ready
 
* announcement is ready
 
* source has been pushed to https://kallithea-scm.org/repos/kallithea
 

	
 
EOT
 

	
 
echo "Verify current revision is tagged for $version"
 
hg log -r "'$version'&." | grep .
0 comments (0 inline, 0 general)