add semver tagging workflow
This commit is contained in:
25
.gitea/workflows/tag-release.yaml
Normal file
25
.gitea/workflows/tag-release.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Bump version
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
create_release_tag:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.merge_commit_sha }}
|
||||
fetch-depth: '0'
|
||||
|
||||
- name: Create Release Tag
|
||||
id: taggerFinal
|
||||
uses: anothrNick/github-tag-action@1.67.0
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.REPO_PUSH_TOKEN }}
|
||||
WITH_V: true
|
||||
GIT_API_TAGGING: false
|
||||
Reference in New Issue
Block a user