Add release tag (#1966)

as title

Reviewed-on: https://gitea.com/xorm/xorm/pulls/1966
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Lunny Xiao 2021-07-04 18:19:46 +08:00
parent 60e128eb4d
commit cbc40dfe5c
1 changed files with 16 additions and 0 deletions

View File

@ -347,3 +347,19 @@ steps:
image: golang:1.15 image: golang:1.15
commands: commands:
- make coverage - make coverage
---
kind: pipeline
name: release-tag
trigger:
event:
- tag
steps:
- name: release-tag-gitea
pull: always
image: plugins/gitea-release:latest
settings:
base_url: https://gitea.com
title: '${DRONE_TAG} is released'
api_key:
from_secret: gitea_token