forked from wtf-eg/handbuch-gen
Compare commits
5 Commits
build-with
...
auto-versi
Author | SHA1 | Date | |
---|---|---|---|
f75df5a7a8
|
|||
b838a57b3f
|
|||
d60a15503d | |||
3f949aaea4
|
|||
cb92dc4f65 |
@ -32,8 +32,9 @@ steps:
|
|||||||
image: sphinxdoc/sphinx-latexpdf:5.0.2
|
image: sphinxdoc/sphinx-latexpdf:5.0.2
|
||||||
commands:
|
commands:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get -y install texlive-lang-german rsync
|
- apt-get -y install texlive-lang-german rsync git
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
- export SPHINXOPTS="-D version=$(git -C source/handbuch describe --tags --abbrev=0) -D release=$(git -C source/handbuch describe --tags)"
|
||||||
- make -j4 bundle
|
- make -j4 bundle
|
||||||
- name: upload
|
- name: upload
|
||||||
image: alpine
|
image: alpine
|
||||||
@ -44,8 +45,8 @@ steps:
|
|||||||
from_secret: nextcloud_password
|
from_secret: nextcloud_password
|
||||||
commands:
|
commands:
|
||||||
- apk add curl
|
- apk add curl
|
||||||
- curl -X PUT -u $NC_USER:$NC_PASSWORD https://work.wtf-eg.de/remote.php/dav/files/$NC_USER/Member-Handbuch/Das%20Handbuch%20zur%20WTF%20eG.pdf -T bundle/rtfm-dashandbuchzurwtfeg.pdf
|
- curl -X PUT -u $NC_USER:$NC_PASSWORD https://work.wtf-eg.de/remote.php/dav/files/$NC_USER/Dokumentation/Das%20Handbuch%20zur%20WTF%20eG.pdf -T bundle/rtfm-dashandbuchzurwtfeg.pdf
|
||||||
- curl -X PUT -u $NC_USER:$NC_PASSWORD https://work.wtf-eg.de/remote.php/dav/files/$NC_USER/Member-Handbuch/Das%20Handbuch%20zur%20WTF%20eG.epub -T bundle/RTFM-DasHandbuchzurWTFeG.epub
|
- curl -X PUT -u $NC_USER:$NC_PASSWORD https://work.wtf-eg.de/remote.php/dav/files/$NC_USER/Dokumentation/Das%20Handbuch%20zur%20WTF%20eG.epub -T bundle/RTFM-DasHandbuchzurWTFeG.epub
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
@ -55,6 +56,6 @@ steps:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 84db7299d18047e70a324c4b059f8a2cdd13b497ac439264e4430a37e443c610
|
hmac: 797e2df88805ae1dee84d60ec024034965dcf41fc2ef86d5667adfdfe10b2719
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -39,6 +39,12 @@ The top level directory contains a Makefile, for generation with all output form
|
|||||||
make bundle
|
make bundle
|
||||||
`````
|
`````
|
||||||
|
|
||||||
|
In order to automatically determine the version string from the latest Git tag, execute the following command before calling `make`:
|
||||||
|
|
||||||
|
```
|
||||||
|
export SPHINXOPTS="-D version=$(git -C source/handbuch describe --tags --abbrev=0) -D release=$(git -C source/handbuch describe --tags)"
|
||||||
|
```
|
||||||
|
|
||||||
The output files of the final handbook can be found in the subfolder `./bundle`.
|
The output files of the final handbook can be found in the subfolder `./bundle`.
|
||||||
|
|
||||||
All generated intermediate artifacts and the final output files can be found in the `./build` subfolder.
|
All generated intermediate artifacts and the final output files can be found in the `./build` subfolder.
|
||||||
|
@ -24,7 +24,10 @@ copyright = '2021, diverse'
|
|||||||
author = 'Autorenkollektiv'
|
author = 'Autorenkollektiv'
|
||||||
|
|
||||||
# The full version, including alpha/beta/rc tags
|
# The full version, including alpha/beta/rc tags
|
||||||
release = '0.2.0'
|
release = '0.0.0'
|
||||||
|
|
||||||
|
# The major project version, without alpha/beta/rc tags
|
||||||
|
version = '0.0.0'
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
|
|
||||||
|
Submodule source/handbuch updated: c209afb9e7...c71746991c
Reference in New Issue
Block a user