Files
k_deploy_workflows/.gitea/workflows/release.yaml
Timo Behrendt f9e00ffda3 ci: introduce semver (#7)
Reviewed-on: #7
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
2025-12-04 17:12:07 +01:00

28 lines
689 B
YAML

name: Release
on:
push:
branches:
- main
paths:
- "./gitea/workflows/cd.yaml"
- "./gitea/workflows/ci.yaml"
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
with:
fetch-depth: 0
- name: Increment tag
id: tag
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.15
with:
token: ${{ secrets.GITEA_TOKEN }}
- name: Push tag
uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@0.0.3
with:
tag: ${{ steps.tag.outputs.new-tag }}