Browse Source

Added tag condition

pull/2/head
Darshil Chanpura 2 months ago
parent
commit
bfa00b5a85
  1. 22
      .drone.yml

22
.drone.yml

@ -44,6 +44,9 @@ steps:
- tar -czf release/dumb-http-${DRONE_TAG:-latest}-darwin-arm64.tar.gz README.md -C release/darwin/ dumb-http
depends_on:
- test
when:
event:
- tag
- name: build-windows
image: golang
@ -53,6 +56,9 @@ steps:
- tar -czf release/dumb-http-${DRONE_TAG:-latest}-windows-amd64.tar.gz README.md -C release/windows/ dumb-http
depends_on:
- test
when:
event:
- tag
- name: build-linux
image: golang
@ -64,16 +70,9 @@ steps:
- tar -czf release/dumb-http-${DRONE_TAG:-latest}-linux-arm64.tar.gz README.md -C release/linux/ dumb-http
depends_on:
- test
- name: dummy-check
image: golang
commands:
- ls -lah release/
- ls -lah release/*
depends_on:
- build-linux
- build-darwin
- build-windows
when:
event:
- tag
- name: gitea-release
image: plugins/gitea-release
@ -85,7 +84,6 @@ steps:
- sha256
files:
- release/*.tar.gz
- release/debs/*.deb
title: Version ${DRONE_TAG/v/}
when:
event:
@ -100,6 +98,6 @@ volumes:
temp: {}
---
kind: signature
hmac: 7d5f9efeb0ad7c4260d0a0d7051726814f7208918e7a106a6893a02144f0247e
hmac: 0be535706d13718f51d54c7421346ace025f09cb6d1a7ab80650fff98453b4fa
...

Loading…
Cancel
Save