Skip to content
Snippets Groups Projects

Resolve "provide pdf with a semantic release"

Merged Stefan Hynek requested to merge feat/#26-provide-pdf-with-a-semantic-release into master
+ 18
6
@@ -12,19 +12,19 @@ create_overall_md:
stage: build
image: alpine:3.7
script:
- cat technical-reference-main.txt | while read LINE; do cat $LINE >> rdd-technical-reference.md ; done
- cat technical-reference-main.txt | while read LINE; do cat $LINE >> technical-reference.md ; done
artifacts:
expose_as: 'full markdown document'
paths:
- rdd-technical-reference.md
- technical-reference.md
tests:
stage: test
image: node:10
before_script:
- npm install
- npm ci
script:
- npx markdownlint -o markdownlint-report.txt rdd-technical-reference.md
- npx markdownlint -o markdownlint-report.txt technical-reference.md
allow_failure: true
artifacts:
expose_as: 'markdownlint report'
@@ -40,9 +40,21 @@ create_pdf:
before_script:
- pandoc --version
script:
- pandoc --template=rdd.latex rdd-technical-reference.md -o rdd-technical-reference.pdf
- pandoc --template=rdd.latex technical-reference.md -o technical-reference.pdf
artifacts:
paths:
- rdd-technical-reference.pdf
- technical-reference.pdf
only:
- master
release:
stage: release
image: node:10
before_script:
- npm ci
script:
- npx semantic-release --dry-run --debug
only:
- feat/#26-provide-pdf-with-a-semantic-release
- master
Loading