You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/api/publishGithubRelease.js
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -201,15 +201,15 @@ async function _validateExtensionPackageJson(githubReleaseTag, packageJSON, repo
201
201
if(registryPKGJSON){
202
202
for(letversionInfoofregistryPKGJSON.versions){
203
203
if(versionInfo.version===packageJSON.version){
204
-
leterrorMsg=`Package version "${packageJSON.version}" already published on ${versionInfo.published}. Please update version number to above ${registryPKGJSON.metadata.version}.`;
204
+
leterrorMsg=`Extension: ${packageJSON.name}, Package version "${packageJSON.version}" already published on ${versionInfo.published}. Please update version number to above ${registryPKGJSON.metadata.version}.`;
leterrorMsg=`Package version should be greater than ${existingRegistryPKGVersion}, but received "${packageJSON.version}".`;
212
+
leterrorMsg=`Extension: ${packageJSON.name}, Package version should be greater than ${existingRegistryPKGVersion}, but received "${packageJSON.version}".`;
213
213
error=error+`\n${errorMsg}`;
214
214
issueMessages.push(errorMsg);
215
215
}
@@ -263,7 +263,7 @@ async function _downloadAndValidateExtensionZip(githubReleaseTag, extensionZipAs
0 commit comments