Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/Release-time-tracker-ui.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: bumping-versions-pipeline
on:
push:
branches:
- master
jobs:
release:
name: bumping-version
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install dependencies
run: npm install
- name: Run Semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,17 @@ Install the following extensions:
- `Prettier - Code formatter`.
- Go to user settings (`settings.json`) and enable formatting on save: `"editor.formatOnSave": true`.

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

## Code scaffolding
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`.

## Build
Expand Down
Loading