Skip to content

Commit

Permalink
ci: 新增自动发版配置
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Dec 2, 2023
1 parent 407bdb3 commit 269425b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release

on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0.0

jobs:
release:
if: github.repository == 'Charles7c/continew-starter'
runs-on: ubuntu-latest
steps:
- name: Checkout
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.md](https://github.com/${{ github.repository }}/blob/dev/CHANGELOG.md) 。

0 comments on commit 269425b

Please sign in to comment.