Skip to content

Commit

Permalink
build: use run prefix when building docs and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
seandstewart committed Sep 4, 2024
1 parent 12d346e commit 965e8f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ docs-version: ## Show the current version of this library as applicable for doc
.PHONY: docs-version

docs: ## Build the versioned documentation
@mike deploy -u --push $(version) $(alias)
@$(RUN_PREFIX) mike deploy -u --push $(version) $(alias)
.PHONY: docs

VERSION_CMD ?= poetry version -s
Expand All @@ -91,13 +91,13 @@ version ?= $(shell $(VERSION_CMD) | $(SED_CMD) $(DOCS_FILTER))
alias ?= latest

changelog: ## Compile the latest changelog for the current branch.
@git-changelog
@$(RUN_PREFIX) git-changelog
@git add CHANGELOG.md
@git commit -m "[skip ci] Update changelog."
.PHONY: changelog

release-notes: ## Compile release notes for VCS
@git changelog --release-notes
@$(RUN_PREFIX) git-changelog --release-notes
.PHONY: release-notes

# endregion
Expand Down

0 comments on commit 965e8f6

Please sign in to comment.