Skip to content

Commit 588f3f1

Browse files
author
Richard Hua
committed
Make .zip check case-insensitive
1 parent 34098b7 commit 588f3f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/script/command-executor.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ function promote(command: cli.IPromoteCommand): Promise<void> {
736736
}
737737

738738
function release(command: cli.IReleaseCommand): Promise<void> {
739-
if (command.package.search(/\.zip$/) !== -1) {
739+
if (command.package.search(/\.zip$/i) !== -1) {
740740
throw new Error("It is unnecessary to package releases in a .zip file. Please specify the path of the desired directory or file directly.");
741741
} else if (semver.valid(command.appStoreVersion) === null) {
742742
throw new Error("Please use a semver compliant app store version, for example \"1.0.3\".");

0 commit comments

Comments
 (0)