From 109d62efa3ab2f3107cb3d3e782ddb623917a65b Mon Sep 17 00:00:00 2001 From: Stefan Date: Sun, 29 Mar 2026 16:34:14 +0200 Subject: [PATCH] ci: run tests on all commits, release only on tags --- .drone.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.drone.yml b/.drone.yml index 2eb2c19..47c7f19 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,6 +4,7 @@ name: go-lib/util trigger: event: + - push - tag ref: - refs/tags/v* @@ -26,6 +27,8 @@ steps: commands: - tar czf .build/sources.tar.gz --exclude=.build --exclude=.git --exclude=.drone.yml . when: + event: + - tag status: - success @@ -40,5 +43,7 @@ steps: title: ${DRONE_TAG} note: "Release ${DRONE_TAG}\n\nCoverage report: coverage.txt" when: + event: + - tag status: - success \ No newline at end of file