From 7b332808f93fc345ffb51941fd5774c157f4fb22 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 21 Apr 2019 22:39:35 +0200 Subject: [PATCH] Always fetch tags in drone when building --- .drone1.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.drone1.yml b/.drone1.yml index 6f2db2b005..283db19497 100644 --- a/.drone1.yml +++ b/.drone1.yml @@ -22,8 +22,6 @@ steps: image: docker:git commands: - git fetch --tags - when: - event: [ tag ] - name: build image: vikunja/golang-build:latest @@ -137,6 +135,12 @@ trigger: - push steps: + # Needed to get the versions right as they depend on tags + - name: fetch-tags + image: docker:git + commands: + - git fetch --tags + - name: before-static-build image: karalabe/xgo-latest:latest pull: true