Skip to content

Commit 1abbdf4

Browse files
authored
Merge pull request #117 from ioet/48-implement-semantic-version
closes #48
2 parents 0775e94 + 9db7471 commit 1abbdf4

File tree

4 files changed

+11084
-5054
lines changed

4 files changed

+11084
-5054
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: bumping-versions-pipeline
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
release:
8+
name: bumping-version
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.x'
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: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,17 @@ Install the following extensions:
5050
- `Prettier - Code formatter`.
5151
- Go to user settings (`settings.json`) and enable formatting on save: `"editor.formatOnSave": true`.
5252

53-
## Code scaffolding
53+
### Commit message format
54+
A commit message needs to start with one of the following words to bump the application version
55+
properly (This application is following a semver strategy for versioning https://semver.org/)
56+
### Sumary
57+
- **fix** is equal to Patch Release example: 1.0.1
58+
- **feat** is equal to Feature Release example: 1.1.0
59+
- **perf** is equal to Breaking Release example: 2.0.0
60+
### Example
61+
fix: #48 implement semantic version.
5462

63+
## Code scaffolding
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)