diff --git a/packages/agoric-cli/src/lib/bundles.js b/packages/agoric-cli/src/lib/bundles.js index c9a8ef9d800..04810ae0682 100644 --- a/packages/agoric-cli/src/lib/bundles.js +++ b/packages/agoric-cli/src/lib/bundles.js @@ -11,7 +11,7 @@ import { ZipReader } from '@endo/zip'; /** @import {Bundle} from '@agoric/swingset-vat'; */ /** @import {CoreEvalPlan} from '@agoric/deploy-script-support/src/writeCoreEvalParts.js' */ -const PACKAGE_NAME_RE = /(?.*-v[\d.]+)\//; +const PACKAGE_NAME_RE = /(?.*-v[\d.]+(?:-n\d+)?)\//; /** * @typedef {{ name: string, label: string, location: string, modules: Record}} Compartment