From 582260f9184221e14fa113dcb26359a2cfefb8c8 Mon Sep 17 00:00:00 2001 From: Evan Richardson Date: Sun, 4 Feb 2024 08:49:20 +0000 Subject: [PATCH] Test auto-versioning --- .gitea/workflows/semantic-release.yaml | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitea/workflows/semantic-release.yaml diff --git a/.gitea/workflows/semantic-release.yaml b/.gitea/workflows/semantic-release.yaml new file mode 100644 index 0000000..05e04d8 --- /dev/null +++ b/.gitea/workflows/semantic-release.yaml @@ -0,0 +1,31 @@ +name: Semantic Release and Changelog +run-name: ${{ gitea.actor }} is running Semantic Release +on: + push: + branches: + - 'master' + +jobs: + Patch: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: '0' + - name: Minor version for each merge + id: taggerDryRun + uses: anothrNick/github-tag-action@1.67.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + WITH_V: true + DRY_RUN: true + + - name: echo new tag + run: | + echo "The next tag version will be: ${{ steps.taggerDryRun.outputs.new_tag }}" + - name: echo tag + run: | + echo "The current tag is: ${{ steps.taggerDryRun.outputs.tag }}" + - name: echo part + run: | + echo "The version increment was: ${{ steps.taggerDryRun.outputs.part }}" \ No newline at end of file