From d04d41f5cda6e6361cb263f6ad48bacb3321f023 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Fri, 22 Dec 2023 17:50:26 +0300 Subject: [PATCH] Changing book file name and adding version to it. --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index a90e23e..ffbc142 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,7 @@ steps: image: 'pandoc/core:3' commands: - 'echo "Commit $DRONE_COMMIT"' - - 'find ./chapters -iname "*.md" -type f -print | sort | xargs -r pandoc -o book.epub title.txt' + - 'find ./chapters -iname "*.md" -type f -print | sort | xargs -r pandoc -o monster-club_$DRONE_TAG.epub title.txt' - name: gitea_release image: plugins/gitea-release settings: @@ -15,7 +15,7 @@ steps: from_secret: gitea_token base_url: https://git.skobk.in files: - - 'book.epub' + - 'monster-club_$DRONE_TAG.epub' when: event: - tag