Skip to content

Commit

Permalink
Chore(ci): Allow passing distribution tag to published package
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Oct 11, 2024
1 parent 048dc28 commit 4c9b26f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ publish: ## Publish packages to repository, pass the parameter "pkg=" to publish
else
publish:
@$(eval pkg ?=)
$(PKG_EXECUTE) $(MONOREPO_TOOL) publish from-package --yes $(MONOREPO_TOOL_FLAGS)
@$(eval dist-tag ?= latest)
$(PKG_EXECUTE) $(MONOREPO_TOOL) publish dist-tag=$(dist-tag) from-package --yes $(MONOREPO_TOOL_FLAGS)
endif

## —— Miscellaneous 🛠️ ——————————————————————————————————————————————————————————————
Expand Down

0 comments on commit 4c9b26f

Please sign in to comment.