build: add release-tag workflow (#6670)

This commit is contained in:
neverland
2020-07-02 09:59:23 +08:00
committed by GitHub
parent 984a90820c
commit f277e5929b

25
.github/workflows/release-tag.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
name: Create Release
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Create Release for Tag
id: release_tag
uses: yyx990803/release-tag@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
body: |
更新内容参见 [CHANGELOG](https://youzan.github.io/vant/#/zh-CN/changelog)。
Please refer to [CHANGELOG](https://youzan.github.io/vant/#/en-US/changelog) for details.