From 177c978474b6b6c44d2e7d2b02eb2d5fe23d6138 Mon Sep 17 00:00:00 2001 From: Amine Louveau Date: Tue, 21 Feb 2023 14:05:32 +0000 Subject: [PATCH] fix: Git changelog. --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index cb1afab..a67b20f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -52,7 +52,7 @@ steps: - ./build.sh --publish --from-ci - git remote add pushing https://$GITEA_USR:$GITEA_PASS@gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform.git - VER=$(git describe --tags --abbrev=0) - - CHANGELOG=$(git log $PREV..HEAD~ --pretty="- %s") + - CHANGELOG=$(git log $PREV..HEAD --pretty="- %s") - echo "**$VER**\n\n$CHANGELOG\n\n--------------------------------------------------------------------\n\n$(cat CHANGELOG.md)" > CHANGELOG.md - git add CHANGELOG.md - git commit -m "Changelog for $VER [CI SKIP]"