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