diff --git a/.travis.yml b/.travis.yml index 8a07dfd..d1f235a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,14 +6,16 @@ addons: install: '' script: - export TERM=dumb -- './gradlew asciidoctor' +- './gradlew generateDocx' jdk: - oraclejdk8 deploy: provider: releases api_key: secure: N4258zuzvzKlhJGnuX3Qy4hK9/L8l3Tph00Z3sMnhmqRzG/f4BYMJEsZ9tSrDntP6qrqy4YUoHf6/AGrg5ZzCVV6vkEupd6jcV3r9e4VFl3Uwatw7+K3iM75nOMVBH6j0ZB5ThR4MmPO1zMG2GXD/tglT2x37rtDMy/v2CJG5No= - file: $TRAVIS_BUILD_DIR/build/index.pdf + file: + - $TRAVIS_BUILD_DIR/build/index.pdf + - $TRAVIS_BUILD_DIR/build/index.docx skip_cleanup: true on: tags: true diff --git a/build.gradle b/build.gradle index 56b8af1..022dae7 100644 --- a/build.gradle +++ b/build.gradle @@ -41,7 +41,7 @@ apply plugin: 'org.asciidoctor.convert' project.description = "arc42 - Examples for Software Quality Requirements" -project.version = "0.7.5" +project.version = "0.7.6" ext { srcDir = "$projectDir/src/asciidoc" @@ -70,8 +70,7 @@ asciidoctor { attributes = [ 'release-branch': 'master', - 'revnumber' : project.version, - 'outputfile': '$outputDir/quality-requirements.pdf', + 'outputFile': "$outputDir/quality-requirements.pdf", 'source-highlighter': 'coderay', // TODO switch to 'rouge' once supported by the html5 backend and on MS Windows 'tabsize': '4', 'toc': 'left',