From 57b8b1a122c8021b880eeb919a2716d1962ba2ef Mon Sep 17 00:00:00 2001 From: gilesb Date: Mon, 23 Oct 2023 17:18:30 +0100 Subject: [PATCH] .. --- .gitea/workflows/pr-closed.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitea/workflows/pr-closed.yml b/.gitea/workflows/pr-closed.yml index 0f10aa6..8cce369 100644 --- a/.gitea/workflows/pr-closed.yml +++ b/.gitea/workflows/pr-closed.yml @@ -36,6 +36,20 @@ jobs: - uses: http://sigyl.com:3000/actions/checkout@v3.5.4 with: token: ${{ secrets.BOT_TOKEN }} + - name: Bump version and push tag + id: tag_version + uses: miguelfito/github-bump-and-tag-action@v1 + with: + github_token: ${{ secrets.BOT_TOKEN }} + + - name: Create a GitHub release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} + with: + tag_name: ${{ steps.tag_version.outputs.new_tag }} + release_name: Release ${{ steps.tag_version.outputs.new_tag }} + body: "wahey" - name: delete develop branch id: delete_develop_branch run: git push origin --delete ${{ github.head_ref }}