Skip to content

Commit 2d57c16

Browse files
committed
fix: #48 implement semantic version
1 parent 8bc8018 commit 2d57c16

File tree

4 files changed

+11083
-5053
lines changed

4 files changed

+11083
-5053
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
release:
8+
name: Release
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v1
13+
- name: Setup Node.js
14+
uses: actions/setup-node@v1
15+
with:
16+
node-version: 12
17+
- name: Install dependencies
18+
run: npm install
19+
- name: Run Semantic-release
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
run: npx semantic-release

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,15 @@ Install the following extensions:
5252

5353
## Code scaffolding
5454

55+
## Commit format
56+
We are using format by release and tags: https://semver.org/
57+
### Sumary
58+
- fix is equal to Patch Release example: 1.0.1
59+
- feat is equal to Feature Release example: 1.1.0
60+
- perf is equal to Breaking Release example: 2.0.0
61+
### Example
62+
fix: #48 implement semantic version.
63+
5564
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
5665

5766
## Build

0 commit comments

Comments
 (0)