From 650bf42b77cf5b56ba3fe6f1b441084951dfabed Mon Sep 17 00:00:00 2001 From: aminecmi Date: Wed, 11 Oct 2023 09:09:03 +0200 Subject: [PATCH] chore: verbose. --- .drone.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index d27f790..ed6eeef 100644 --- a/.drone.yml +++ b/.drone.yml @@ -50,23 +50,25 @@ steps: image: ubuntu:latest commands: - apt-get update && apt-get install -y git + - echo "$key" > $HOME/.ssh/id_git_rsa - git fetch --tags -p - PREV=$(git describe --tags --abbrev=0) - ./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") - 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]" - - git push pushing master - - git push pushing --tags + - git push origin master + - git push origin --tags environment: TZ: Europe/Paris GITEA_USR: from_secret: giteaUsr GITEA_PASS: from_secret: giteaPass + key: + from_secret: privateKey - name: scpFiles image: appleboy/drone-scp