From 1811bd2b75d35c55703073ebc3a13602fde4af80 Mon Sep 17 00:00:00 2001 From: Evan Richardson Date: Thu, 7 Mar 2024 06:20:06 +0000 Subject: [PATCH] add semver tagging workflow --- .gitea/workflows/tag-release.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitea/workflows/tag-release.yaml diff --git a/.gitea/workflows/tag-release.yaml b/.gitea/workflows/tag-release.yaml new file mode 100644 index 0000000..09854b9 --- /dev/null +++ b/.gitea/workflows/tag-release.yaml @@ -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