From a9e4304620d673990418adfd29f9c94a1447ffe2 Mon Sep 17 00:00:00 2001 From: Jakub Turkiewicz Date: Mon, 5 May 2025 21:23:22 +0200 Subject: [PATCH] Create tag.yml --- .github/workflows/tag.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/tag.yml diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml new file mode 100644 index 0000000..b51944f --- /dev/null +++ b/.github/workflows/tag.yml @@ -0,0 +1,28 @@ +name: Bump & Tag + +on: + push: + branches: + - main + +jobs: + bumper: + runs-on: ubuntu-24.04 + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Bump version and push tag + id: tag_version + uses: mathieudutour/github-tag-action@v6.2 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + + - name: Create release + uses: ncipollo/release-action@v1 + with: + tag: ${{ steps.tag_version.outputs.new_tag }} + name: Release ${{ steps.tag_version.outputs.new_tag }} + body: ${{ steps.tag_version.outputs.changelog }}