mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-30 21:49:18 +01:00
feat(release): support otp bootstrap publish
This commit is contained in:
1 parent
318718b04a
commit
dcd7612b09
3 files changed
+68
-4
No files matched your search
@@ -9,6 +9,17 @@ test("parseArgs recognizes publish and skip-build flags", () => {
|
||||
selector: "@paperclipai/adapter-acpx-local",
|
||||
publish: true,
|
||||
skipBuild: true,
|
||||
otp: null,
|
||||
});
|
||||
});
|
||||
|
||||
test("parseArgs accepts an explicit otp value", () => {
|
||||
assert.deepEqual(parseArgs(["packages/adapters/acpx-local", "--publish", "--otp", "123456"]), {
|
||||
help: false,
|
||||
selector: "packages/adapters/acpx-local",
|
||||
publish: true,
|
||||
skipBuild: false,
|
||||
otp: "123456",
|
||||
});
|
||||
});
|
||||
|
||||
@@ -18,6 +29,7 @@ test("parseArgs returns help mode", () => {
|
||||
selector: null,
|
||||
publish: false,
|
||||
skipBuild: false,
|
||||
otp: null,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user