From ff021d572c3faed2ae8090e7c55786f1d2b402f9 Mon Sep 17 00:00:00 2001 From: aminecmi Date: Thu, 29 Dec 2022 13:11:23 +0100 Subject: [PATCH] fix: Automatic CHANGELOG generation. --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 1a70874..a4a9e0e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -46,6 +46,7 @@ steps: image: ubuntu:latest commands: - apt-get update && apt-get install -y git + - git fetch --tags -p - VER=$(git describe --tags --abbrev=0) - CHANGELOG=$(git log $VER..HEAD --pretty="- %s") - echo "**$VER**\n\n$CHANGELOG\n\n--------------------------------------------------------------------\n\n$(cat CHANGELOG.md)" > CHANGELOG.md