Skip to content

Commit 5be496c

Browse files
committed
added version bumper, to version bumper
1 parent 808d9a6 commit 5be496c

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/release.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Release Action
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- dist/**
9+
- src/**
10+
- node_modules/**
11+
- package-lock.json
12+
- package.json
13+
workflow_dispatch:
14+
15+
jobs:
16+
bump_and_release:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v2
21+
- name: Setup Node
22+
uses: actions/setup-node@v1
23+
with:
24+
node-version: '12'
25+
- name: Bump & Tag
26+
uses: michmich112/version-bumper@master
27+
with:
28+
scheme: org_semantic
29+
version-file: ./package.json
30+
files: "[]"
31+
rules: '[{"trigger": "commit", "bump": "build", "branch": "master", "tag": true},{"trigger": "manual", "bump": "minor", "reset": "build", "branch": "master", "tag": true} ]'
32+
github-token: ${{ secrets.GITHUB_TOKEN }}
33+
34+

0 commit comments

Comments
 (0)