Skip to content

Commit

Permalink
feat(devel): add task for generating CHANGELOG.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoscode committed Jul 27, 2023
1 parent 8ff4e1a commit 0ba1142
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ tasks:
cmds:
- task: check:check-all

changelog:
desc: Generate Changelog
cmds:
- rm -f CHANGELOG.md
- git-changelog -o CHANGELOG.md -c conventional -t keepachangelog .

clean-all:
desc: Cleans everything...
cmds:
Expand Down
7 changes: 7 additions & 0 deletions dev-assets/tasks/darwin/check-tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ tasks:
- task: check-docker-compose
- task: check-java
- task: check-jq
- task: check-git-changelog
ignore_error: true

check-helm:
Expand Down Expand Up @@ -70,6 +71,12 @@ tasks:
cmds:
- ./check_bin.sh jq https://jqlang.github.io/jq/

check-git-changelog:
dir: dev-assets/tasks/darwin
silent: true
cmds:
- ./check_bin.sh git-changelog https://pypi.org/project/git-changelog/#description

check-java:
dir: dev-assets/tasks/darwin
silent: true
Expand Down
7 changes: 7 additions & 0 deletions dev-assets/tasks/linux/check-tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ tasks:
- task: check-docker-compose
- task: check-java
- task: check-jq
- task: check-git-changelog
ignore_error: true

check-helm:
Expand Down Expand Up @@ -67,6 +68,12 @@ tasks:
cmds:
- ./check_bin.sh jq https://jqlang.github.io/jq/

check-git-changelog:
dir: dev-assets/tasks/linux
silent: true
cmds:
- ./check_bin.sh git-changelog https://pypi.org/project/git-changelog/#description

check-java:
dir: dev-assets/tasks/linux
silent: true
Expand Down
7 changes: 7 additions & 0 deletions dev-assets/tasks/windows/check-tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ tasks:
- task: check-docker-compose
- task: check-java
- task: check-jq
- task: check-git-changelog
ignore_error: true

check-helm:
Expand Down Expand Up @@ -67,6 +68,12 @@ tasks:
cmds:
- echo "task 'check-prereq' not implemented for windows!"

check-git-changelog:
dir: dev-assets/tasks/windows
silent: true
cmds:
- echo "task 'check-prereq' not implemented for windows!"

check-java:
dir: dev-assets/tasks/windows
silent: true
Expand Down

0 comments on commit 0ba1142

Please sign in to comment.