minor: formatting of output for releasenotes generator

This commit is contained in:
Roman Ivanov 2017-02-04 08:55:45 -08:00
parent 9bddb63a8e
commit ecc429c92f
1 changed files with 17 additions and 7 deletions

View File

@ -11,7 +11,7 @@ git clone https://github.com/checkstyle/checkstyle
cd checkstyle
LATEST_RELEASE_TAG=$(git describe $(git rev-list --tags --max-count=1))
cd ../
CS_RELEASE_VERSION=$(mvn -q -Dexec.executable='echo' -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec | sed 's/-SNAPSHOT//' )
CS_RELEASE_VERSION=$(mvn -q -Dexec.executable='echo' -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec | sed 's/-SNAPSHOT//' )
echo LATEST_RELEASE_TAG=$LATEST_RELEASE_TAG
echo CS_RELEASE_VERSION=$CS_RELEASE_VERSION
java -jar contribution/releasenotes-builder/target/releasenotes-builder-1.0-all.jar \
@ -19,22 +19,32 @@ java -jar contribution/releasenotes-builder/target/releasenotes-builder-1.0-all.
-githubAuthToken $GITHUB_AUTH_TOKEN -generateAll -publishXdoc
echo ==============================================
echo xdoc
echo
echo "xdoc segment:"
echo ==============================================
cat xdoc.xml
echo twitter post
echo ==============================================
echo
echo "twitter post:"
echo ==============================================
cat twitter.txt
echo google plus post
echo ==============================================
echo
echo "google plus post:"
echo ==============================================
cat gplus.txt
echo RSS post
echo ==============================================
echo
echo "RSS post:"
echo ==============================================
cat rss.txt
echo mailing list post
echo ==============================================
echo
echo "mailing list post:"
echo ==============================================
cat mailing_list.txt
echo ==============================================
cd checkstyle/src/xdocs
echo releasenotes.xml after commit
echo
echo "releasenotes.xml after commit:"
head -n 100 releasenotes.xml