Skip to content

Conversation

@jessehouwing
Copy link
Collaborator

Fixes #13: Tag is not applied when publishing from VSIX
Adds: Support for Paid Extensions

if (isPreview) { jsonOverrides.galleryFlags = ["Preview"]; };

if (isPreview) {
jsonOverrides.galleryFlags = jsonOverrides.galleryFlags || [];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this line isn't doing anything

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. Replaced the line below with .Push.
Kept the coalesce in there to make the code aligned with the pricing option below and to make sure it keeps working if the order is changed.

vsixmanifest.PackageManifest.Metadata.GalleryFlags = flagsEditor.toString();
}
if (this.extensionPricing && this.extensionPricing !== "default") {
let flagsEditor = new GalleryFlagsEditor(vsixmanifest.PackageManifest.Metadata.GalleryFlags);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yups.

@T-Hugs T-Hugs merged commit b37a7ae into microsoft:master Oct 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants