Skip to content

Commit

Permalink
chore: install conventional-changelog locally instead of using a glob…
Browse files Browse the repository at this point in the history
…al one
  • Loading branch information
Deuchnord committed May 5, 2023
1 parent 9df05a0 commit f474c3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ Pipfile.lock
# Gitpod-specific:
/.vscode/**
poetry.lock

# Used to generate changelog, should not be in the repo:
/package.json
/package-lock.json
/node_modules
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ doctests:
python3 -m poetry run python tests.py

changelog:
conventional-changelog -p angular -i CHANGELOG.md -s
@echo -e "\e[32m✔\e[33m Changelog generated. Don't forget to update the version number before committing.\e[0m"
npm install conventional-changelog-cli
./node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s
rm -rf node_modules package.json package-lock.json

0 comments on commit f474c3d

Please sign in to comment.