From d4a67269306bbd266180c0add06a8f744ec22d07 Mon Sep 17 00:00:00 2001 From: Liosha84 Date: Thu, 29 Oct 2026 00:39:31 +0100 Subject: [PATCH] feat: automatic releases on merge to main MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Drone now triggers on push to main branch instead of Git tags - Each merge produces two Docker tags: main-{commit-sha} and main-latest - No manual Git tags needed — merging PR develop → main is the release - Updated docs/DEVELOPMENT.md with new Git-flow workflow - Updated CHANGELOG.md with automatic releases feature --- .drone.yml | 8 +++--- .idea/compiler.xml | 7 +++++ CHANGELOG.md | 3 ++ docs/DEVELOPMENT.md | 70 ++++++++++++++++++++++++++++----------------- 4 files changed, 58 insertions(+), 30 deletions(-) diff --git a/.drone.yml b/.drone.yml index fddc745..f90a491 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,7 +4,7 @@ name: build-and-push trigger: event: - - tag + - push - pull_request steps: @@ -24,11 +24,11 @@ steps: context: . registry: gitea.jambotron.com repo: gitea.jambotron.com/liosha84/htop-web - auto_tag: true + tags: ${DRONE_COMMIT_SHA:0:7},main-latest username: from_secret: REGISTRY_USERNAME password: from_secret: REGISTRY_PASSWORD when: - event: - - tag + branch: + - main diff --git a/.idea/compiler.xml b/.idea/compiler.xml index fea4714..802f543 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,5 +1,12 @@ + + + + + + +