From 6cc70430907d96e7241a552ca1173c888578d0eb Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Fri, 22 Dec 2023 18:05:22 +0300 Subject: [PATCH] Trying to fix tagged file build. --- .drone.yml | 5 +++-- .gitignore | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index ffbc142..a459275 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,8 +6,9 @@ steps: - name: build-book image: 'pandoc/core:3' commands: - - 'echo "Commit $DRONE_COMMIT"' - - 'find ./chapters -iname "*.md" -type f -print | sort | xargs -r pandoc -o monster-club_$DRONE_TAG.epub title.txt' + - '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' + - 'ls -la ./*.epub' - name: gitea_release image: plugins/gitea-release settings: diff --git a/.gitignore b/.gitignore index 2055da5..250f749 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ /.idea /chapters/description.json -/book.epub +/*.epub