execute pipeline on tag + save
Some checks reported errors
continuous-integration/drone/tag Build encountered an error

This commit is contained in:
Julien Fastré 2022-05-16 11:22:05 +02:00
parent 9d8d356a92
commit 1d4fb63d46

View File

@ -1,7 +1,11 @@
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: default name: build-release
when:
event:
- tag
steps: steps:
@ -10,24 +14,18 @@ steps:
commands: commands:
- git submodule init - git submodule init
- git submodule update --recursive --remote - git submodule update --recursive --remote
when:
event: tag
- name: pandoc - name: pandoc
image: pandoc/alpine:2.14 image: pandoc/alpine:2.14
commands: commands:
- sh build-pandoc.sh latex user > user-manual.tex - sh build-pandoc.sh latex user > user-manual.tex
- sh build-pandoc.sh latex admin > user-manual.tex - sh build-pandoc.sh latex admin > user-manual.tex
when:
event: tag
- name: build-latex - name: build-latex
image: ghcr.io/xu-cheng/texlive-full:latest image: ghcr.io/xu-cheng/texlive-full:latest
commands: commands:
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex user-manual.tex - latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex user-manual.tex
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex latex-manual.tex - latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex latex-manual.tex
when:
event: tag
- name: release - name: release
image: plugins/gitea-release image: plugins/gitea-release
@ -42,5 +40,8 @@ steps:
- sha512 - sha512
title: ${DRONE_COMMIT_REF} title: ${DRONE_COMMIT_REF}
prerelease: true prerelease: true
when: ---
event: tag kind: signature
hmac: 3bfa17ee6ad33613ca8e2fec573050a6d65d3b89e2a0c49f28dbb51b8461a427
...