Skip to content
Snippets Groups Projects
Commit 94151ac7 authored by Stefan Hynek's avatar Stefan Hynek :drooling_face:
Browse files

ci(gitlab): add release job; dry run and debug only

parent fe8a3953
Branches
Tags
1 merge request!28Resolve "provide pdf with a semantic release"
Pipeline #139324 passed with warnings
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment