Trying to fix tagged file build.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Alexey Skobkin 2023-12-22 18:05:22 +03:00
parent d04d41f5cd
commit 6cc7043090
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7
2 changed files with 4 additions and 3 deletions

View file

@ -6,8 +6,9 @@ steps:
- name: build-book - name: build-book
image: 'pandoc/core:3' image: 'pandoc/core:3'
commands: commands:
- 'echo "Commit $DRONE_COMMIT"' - 'echo "Current tag (if any): $DRONE_TAG"'
- 'find ./chapters -iname "*.md" -type f -print | sort | xargs -r pandoc -o monster-club_$DRONE_TAG.epub title.txt' - 'find ./chapters -iname "*.md" -type f -print | sort | xargs -r pandoc -o "monster-club_$DRONE_TAG.epub" title.txt'
- 'ls -la ./*.epub'
- name: gitea_release - name: gitea_release
image: plugins/gitea-release image: plugins/gitea-release
settings: settings:

2
.gitignore vendored
View file

@ -1,3 +1,3 @@
/.idea /.idea
/chapters/description.json /chapters/description.json
/book.epub /*.epub