From 4e586f5837b82a63acb8884b4ee5cabe6f8609df Mon Sep 17 00:00:00 2001 From: Michael FIG Date: Sun, 4 Feb 2024 20:52:45 -0600 Subject: [PATCH] fix(registry.sh): use `build:types` and `clean:types` if they exist --- scripts/registry.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/registry.sh b/scripts/registry.sh index 7ba6e4f69592..f506d2332e1f 100755 --- a/scripts/registry.sh +++ b/scripts/registry.sh @@ -64,12 +64,16 @@ publish() { yarn build git commit --allow-empty -am "chore: prepare for publishing" + yarn lerna run build:types + # Publish the packages to our local service. # without concurrency until https://github.com/Agoric/agoric-sdk/issues/8091 yarn lerna publish --concurrency 1 prerelease --exact \ --dist-tag="$DISTTAG" --preid=dev \ --no-push --no-git-reset --no-git-tag-version --no-verify-access --yes + yarn lerna run clean:types + # Change any version prefices to an exact match, and merge our versions. VERSIONSHASH=$(jq --argfile versions <(popd >/dev/null && git cat-file blob "$VERSIONSHASH") \ '[to_entries[] | { key: .key, value: (.value | sub("^[~^]"; "")) }]