From 5ebed219cd02819ae5c7dfb7e83cdfffad22059b Mon Sep 17 00:00:00 2001 From: Giles Date: Wed, 29 Jul 2020 20:26:17 +0100 Subject: [PATCH] on tag event --- .drone/.drone.jsonnet | 5 ++++- .drone/.drone.yml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.drone/.drone.jsonnet b/.drone/.drone.jsonnet index 57ee847..5a9b292 100644 --- a/.drone/.drone.jsonnet +++ b/.drone/.drone.jsonnet @@ -11,10 +11,13 @@ { name: 'step', image: 'alpine', + trigger: { + event: ['tag'], + }, commands: [ 'echo hello', 'echo $${DRONE_COMMIT}', - 'echo $${DRONE_TAG}}', + 'echo $${DRONE_TAG}', ], }, diff --git a/.drone/.drone.yml b/.drone/.drone.yml index 63f7461..b68ee55 100644 --- a/.drone/.drone.yml +++ b/.drone/.drone.yml @@ -13,6 +13,6 @@ steps: commands: - echo hello - echo $${DRONE_COMMIT} - - echo $${DRONE_TAG}} + - echo $${DRONE_TAG} ...