Files
Bonsai-webapp/.gitea/workflows/release.yml
T
2026-05-25 05:51:09 +02:00

39 lines
801 B
YAML

name: Release
on:
push:
branches:
- main
jobs:
bump-version:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Configure git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Bump patch version
run: |
npm version patch -m "chore: bump version to %s [skip ci]"
- name: Push version commit and tag
run: |
git push
git push --tags