From a313552976ce54d45803d14df255dee566234527 Mon Sep 17 00:00:00 2001 From: Amine Louveau Date: Tue, 21 Feb 2023 11:20:43 +0000 Subject: [PATCH] fix: change changelog version on release. --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 559ed1b..d966d77 100644 --- a/.drone.yml +++ b/.drone.yml @@ -48,13 +48,13 @@ steps: commands: - apt-get update && apt-get install -y git - git fetch --tags -p + - ./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 $VER..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]" - - ./build.sh --publish --from-ci - - git remote add pushing https://$GITEA_USR:$GITEA_PASS@gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform.git - git push pushing master - git push pushing --tags environment: