config: Fix releasenotes generation script (#3371)
This commit is contained in:
parent
81c030e322
commit
0b660ba8b4
|
|
@ -269,13 +269,13 @@ matrix:
|
|||
env:
|
||||
- DESC="Releasenotes generation"
|
||||
- CMD0="if [[ $TRAVIS_PULL_REQUEST =~ ^([0-9]*)$ ]]; then exit 0; fi "
|
||||
- CMD1=" && git clone https://github.com/checkstyle/contribution && cd contribution/releasenotes-xdoc-builder "
|
||||
- CMD1=" && git clone https://github.com/checkstyle/contribution && cd contribution/releasenotes-builder "
|
||||
- CMD2=" && mvn clean compile package "
|
||||
- CMD3=" && cd ../../ && git clone https://github.com/checkstyle/checkstyle && cd checkstyle "
|
||||
- CMD4=" && LATEST_RELEASE_TAG=\$(git describe \$(git rev-list --tags --max-count=1)) && cd ../"
|
||||
- CMD5=" && 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//' ) "
|
||||
- CMD6=" && echo LATEST_RELEASE_TAG=\$LATEST_RELEASE_TAG && echo CS_RELEASE_VERSION=\$CS_RELEASE_VERSION "
|
||||
- CMD7=" && java -jar contribution/releasenotes-xdoc-builder/target/releasenotes-xdoc-builder-1.0-all.jar "
|
||||
- CMD7=" && java -jar contribution/releasenotes-builder/target/releasenotes-builder-1.0-all.jar "
|
||||
- CMD8=" -localRepoPath checkstyle -startRef \$LATEST_RELEASE_TAG -releaseNumber \$CS_RELEASE_VERSION -authToken $GITHUB_AUTH_TOKEN -generateAll"
|
||||
- CMD9=" && echo && echo =============================================="
|
||||
- CMD10=" && echo xdoc && echo && cat xdoc.xml"
|
||||
|
|
|
|||
Loading…
Reference in New Issue