mirror of
https://github.com/litruv/API-WebSocket-Bridge.git
synced 2026-07-24 02:36:03 +10:00
Create versionIncrement.yml
This commit is contained in:
19
.github/workflows/versionIncrement.yml
vendored
Normal file
19
.github/workflows/versionIncrement.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user