2021-07-26 19:33:39 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2022-05-16 09:22:05 +00:00
|
|
|
name: build-release
|
|
|
|
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
2021-07-26 19:33:39 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- name: submodules
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git submodule init
|
|
|
|
- git submodule update --recursive --remote
|
|
|
|
|
|
|
|
- name: pandoc
|
|
|
|
image: pandoc/alpine:2.14
|
|
|
|
commands:
|
2021-08-25 15:46:54 +00:00
|
|
|
- sh build-pandoc.sh latex user > user-manual.tex
|
|
|
|
- sh build-pandoc.sh latex admin > user-manual.tex
|
2021-07-26 19:33:39 +00:00
|
|
|
|
|
|
|
- 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
|
2021-08-25 15:46:54 +00:00
|
|
|
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex latex-manual.tex
|
2021-07-26 19:33:39 +00:00
|
|
|
|
|
|
|
- name: release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea_key
|
|
|
|
base_url: https://gitea.champs-libres.be
|
|
|
|
files:
|
|
|
|
- user-manual.pdf
|
2021-08-25 15:46:54 +00:00
|
|
|
- admin-manual.pdf
|
2021-07-26 19:33:39 +00:00
|
|
|
checksum:
|
|
|
|
- sha512
|
|
|
|
title: ${DRONE_COMMIT_REF}
|
|
|
|
prerelease: true
|
2022-05-16 09:22:05 +00:00
|
|
|
---
|
|
|
|
kind: signature
|
|
|
|
hmac: 3bfa17ee6ad33613ca8e2fec573050a6d65d3b89e2a0c49f28dbb51b8461a427
|
|
|
|
|
|
|
|
...
|