Skip to content

Commit

Permalink
feat: warn web-ext v7 users about upcoming changes to the sign command (
Browse files Browse the repository at this point in the history
  • Loading branch information
willdurand authored Sep 14, 2023
1 parent 3bc0548 commit 6f07d1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/cmd/sign.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ export default function sign(
asyncFsReadFile = defaultAsyncFsReadFile,
}: SignOptions = {}
): Promise<SignResult> {
if (!useSubmissionApi) {
log.warn(
'IMPORTANT: web-ext v8 will introduce a new AMO submission API for signing and you might need to take actions when upgrading from v7 to v8. You can test this upcoming change now by specifying `--use-submission-api` to the `sign` command. If you want to keep using the API you are using now (via "sign-addon"), you must stay on v7.'
);
}

return withTempDir(async function (tmpDir) {
await prepareArtifactsDir(artifactsDir);

Expand Down

0 comments on commit 6f07d1e

Please sign in to comment.