From 741a529ee6f51b34cfca6d881c880d7c2c0645cf Mon Sep 17 00:00:00 2001 From: Thomas Knickman Date: Mon, 19 Dec 2022 13:37:23 -0500 Subject: [PATCH] fix(publish): corrupt packages canaries (#3072) Fixes publishing packages that haven't been built. --- cli/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cli/Makefile b/cli/Makefile index 8931cde560f98..40108291a7376 100644 --- a/cli/Makefile +++ b/cli/Makefile @@ -203,7 +203,7 @@ snapshot-turbo: .PHONY: publish-turbo -publish-turbo: +publish-turbo: clean build echo "Version: $(TURBO_VERSION)" echo "Tag: $(TURBO_TAG)" @@ -217,14 +217,12 @@ publish-turbo: # Split packing from the publish step so that npm locates the correct .npmrc file. npm pack $(CLI_DIR)/../packages/turbo --pack-destination=$(CLI_DIR)/../ - npm pack $(CLI_DIR)/../packages/turbo-ignore --pack-destination=$(CLI_DIR)/../ npm pack $(CLI_DIR)/../packages/create-turbo --pack-destination=$(CLI_DIR)/../ npm pack $(CLI_DIR)/../packages/turbo-codemod --pack-destination=$(CLI_DIR)/../ # Publish the remaining JS packages in order to avoid race conditions. cd $(CLI_DIR)/../ npm publish -ddd --tag $(TURBO_TAG) $(CLI_DIR)/../turbo-$(TURBO_VERSION).tgz - # npm publish -ddd --tag $(TURBO_TAG) $(CLI_DIR)/../turbo-ignore-$(TURBO_VERSION).tgz npm publish -ddd --tag $(TURBO_TAG) $(CLI_DIR)/../create-turbo-$(TURBO_VERSION).tgz npm publish -ddd --tag $(TURBO_TAG) $(CLI_DIR)/../turbo-codemod-$(TURBO_VERSION).tgz