Skip to content

Commit

Permalink
chore: Fix makefile check for version
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Nov 14, 2023
1 parent a8174fc commit f9de5ac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ changelog:
@git-changelog -Tio CHANGELOG.md -Bauto -c angular

release:
ifndef version
$(error version is not set)
endif
@test -n "$(version)" || { echo "error: usage: make release version=x.y.z" >&2; exit 1; }
@git add CHANGELOG.md
@git commit -m "docs: Update changelog for version $(version)"
@git tag $(version)
Expand Down

0 comments on commit f9de5ac

Please sign in to comment.