diff --git a/.gitea/workflows/bump-version.yml b/.gitea/workflows/bump-version.yml new file mode 100644 index 0000000..196c3eb --- /dev/null +++ b/.gitea/workflows/bump-version.yml @@ -0,0 +1,21 @@ +name: Bump version +on: + push: + branches: + - master +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: RouxAntoine/checkout@v3.5.4 + - name: Bump version and push tag + id: tag_version + uses: mathieudutour/github-tag-action@v6.1 + with: + github_token: ${{ secrets.TEA_TOKEN }} + - name: Create a GitHub 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 }} \ No newline at end of file