From 1d4fb63d466251ed45e21d7733bb2d091ec567f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 16 May 2022 11:22:05 +0200 Subject: [PATCH] execute pipeline on tag + save --- .drone.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index fb5525d..7531ab2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,7 +1,11 @@ --- kind: pipeline type: docker -name: default +name: build-release + +when: + event: + - tag steps: @@ -10,24 +14,18 @@ steps: commands: - git submodule init - git submodule update --recursive --remote - when: - event: tag - name: pandoc image: pandoc/alpine:2.14 commands: - sh build-pandoc.sh latex user > user-manual.tex - sh build-pandoc.sh latex admin > user-manual.tex - when: - event: tag - name: build-latex image: ghcr.io/xu-cheng/texlive-full:latest 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 latex-manual.tex - when: - event: tag - name: release image: plugins/gitea-release @@ -42,5 +40,8 @@ steps: - sha512 title: ${DRONE_COMMIT_REF} prerelease: true - when: - event: tag +--- +kind: signature +hmac: 3bfa17ee6ad33613ca8e2fec573050a6d65d3b89e2a0c49f28dbb51b8461a427 + +...