Files
tracebasedlogsampler/.gitea/workflows/cd.yaml
Timo Behrendt a459994a24
All checks were successful
CI & Release / ci (push) Successful in 21s
CI & Release / release (push) Successful in 18s
ci: add release pipeline (#16)
Reviewed-on: #16
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
2025-05-20 20:34:21 +02:00

32 lines
716 B
YAML

name: CI & Release
on:
push:
branches:
- main
jobs:
ci:
uses: ./.gitea/workflows/ci.yaml
release:
needs: ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm install -g standard-version
- run: |
git config --global user.name "Release Bot"
git config --global user.email "release-bot@t00n.de"
- run: |
standard-version --no-verify --skip-changelog
tag=$(git describe --tags --abbrev=0)
git push origin "$tag"
env:
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}