Skip to content

Commit

Permalink
use docker for changelog utils
Browse files Browse the repository at this point in the history
  • Loading branch information
MalteHerrmann committed Aug 1, 2024
1 parent bf4c7b4 commit 51bd35e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,15 @@ check-licenses:
@python3 check_licenses.py .
@rm check_licenses.py

# Use changelog linter and auto-fix from https://github.com/MalteHerrmann/changelog-utils
cluVersion=v1.1.2
cluImage=ghcr.io/malteherrmann/changelog-utils
clu=$(DOCKER) run --rm -v "$(CURDIR):/workspace" --workdir /workspace --user 0 $(cluImage):$(cluVersion)

changelog-check:
@echo "Checking changelog..."
@clu lint
@$(clu) lint

changelog-fix:
@echo "Fixing changelog..."
@clu fix
@$(clu) fix

0 comments on commit 51bd35e

Please sign in to comment.