mirror of
https://github.com/litruv/API-WebSocket-Bridge.git
synced 2026-07-24 02:36:03 +10:00
20 lines
468 B
YAML
20 lines
468 B
YAML
name: Version Increment
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
version:
|
|
runs-on: ubuntu-latest
|
|
if: "!startsWith(github.event.head_commit.message, '[RELEASE]')"
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
- run: git config --global user.name 'Litruv'
|
|
- run: git config --global user.email 'litruv@gmail.com'
|
|
- run: npm version patch -m "[RELEASE] %s"
|
|
- run: git push
|