Skip to content

Commit

Permalink
fix(registry.sh): use build:types and clean:types if they exist
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Feb 5, 2024
1 parent 52a5ae6 commit a3e8e29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/registry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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("^[~^]"; "")) }]
Expand Down

0 comments on commit a3e8e29

Please sign in to comment.