-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Automate Store Publishing #25725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Automate Store Publishing #25725
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
8a6dd3d
Add MSIX store publish automation for Private
jshigetomi 7da1b10
Switch back to production settings
jshigetomi dd3e08e
Remove -Private paramter from windows build
jshigetomi 40aadd9
Add three channels for store publish
jshigetomi d114ce5
Correct boolean reference
jshigetomi a1a4fe0
Use channel selection to set parameters for store tasks
jshigetomi 1917de0
Fix LTS name
jshigetomi 991124b
Clean up setTagandChangelog
jshigetomi 04ac6d1
Clean up setTagandChangelog 2
jshigetomi d816844
Move skippublish parameter to the task
jshigetomi afe54de
Use variable ReleaseTag and remove ReleaseTag step
jshigetomi e5a85e0
Merge branch 'master' into storePublish
jshigetomi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,176 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <ProductDescription language="en-us" xmlns="http://schemas.microsoft.com/appx/2012/ProductDescription" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="en-us" Release=""> | ||
| <AppStoreName _locID="PowerShell-Private"> | ||
| <!-- This is optional. AppStoreName is typically extracted from your package's AppxManifest DisplayName property. --> | ||
| <!-- Uncomment (and localize) this Store name if your application package does not contain a localization for the DisplayName in this language. --> | ||
| <!-- Leaving this uncommented for a language that your application package DOES contain a DisplayName for will result in a submission failure with the API. --> | ||
| <!-- _locComment_text="{MaxLength=200} App AppStoreName" --> | ||
| <!-- Dev Home --> | ||
| </AppStoreName> | ||
| <Keywords> | ||
| <!-- Valid length: 30 character limit, up to 7 elements --> | ||
| <Keyword _locID="App_keyword1"> | ||
| <!-- _locComment_text="{MaxLength=30} App keyword 1" -->Shell</Keyword> | ||
| <Keyword _locID="App_keyword2"> | ||
| <!-- _locComment_text="{MaxLength=30} App keyword 2" -->PowerShell</Keyword> | ||
| <Keyword _locID="App_keyword3"> | ||
| <!-- _locComment_text="{MaxLength=30} App keyword 3" -->Terminal</Keyword> | ||
| <Keyword _locID="App_keyword4"> | ||
| <!-- _locComment_text="{MaxLength=30} App keyword 4" -->Command Line</Keyword> | ||
| <Keyword _locID="App_keyword5"> | ||
| <!-- _locComment_text="{MaxLength=30} App keyword 5" -->Automation</Keyword> | ||
| <Keyword _locID="App_keyword6"> | ||
| <!-- _locComment_text="{MaxLength=30} App keyword 6" -->Task Automation</Keyword> | ||
| <Keyword _locID="App_keyword7"> | ||
| <!-- _locComment_text="{MaxLength=30} App keyword 7" -->Scripting</Keyword> | ||
| </Keywords> | ||
| <Description _locID="App_Description"> | ||
| <!-- _locComment_text="{MaxLength=10000} {Locked=Windows} App Description" -->PowerShell is a task-based command-line shell and scripting language built on .NET. PowerShell helps system administrators and power-users rapidly automate task that manage operating systems (Linux, macOS, and Windows) and processes. | ||
|
|
||
| PowerShell commands let you manage computers from the command line. PowerShell providers let you access data stores, such as the registry and certificate store, as easily as you access the file system. PowerShell includes a rich expression parser and a fully developed scripting language. | ||
|
|
||
| PowerShell is Open Source. See https://github.com/powershell/powershell </Description> | ||
| <ShortDescription _locID="App_ShortDescription"> | ||
| <!-- Only used for games. This description appears in the Information section of the Game Hub on Xbox One, and helps customers understand more about your game. --> | ||
| <!-- _locComment_text="{MaxLength=500} App ShortDescription" --> | ||
| </ShortDescription> | ||
| <ShortTitle _locID="App_ShortTitle"> | ||
| <!-- A shorter version of your product's name. If provided, this shorter name may appear in various places on Xbox One (during installation, in Achievements, etc.) in place of the full title of your product. --> | ||
| <!-- _locComment_text="{MaxLength=50} App ShortTitle" --> | ||
| </ShortTitle> | ||
| <SortTitle _locID="App_SortTitle"> | ||
| <!-- If your product could be alphabetized in different ways, you can enter another version here. This may help customers find the product more quickly when searching. --> | ||
| <!-- _locComment_text="{MaxLength=255} App SortTitle" --> | ||
| </SortTitle> | ||
| <VoiceTitle _locID="App_VoiceTitle"> | ||
| <!-- An alternate name for your product that, if provided, may be used in the audio experience on Xbox One when using Kinect or a headset. --> | ||
| <!-- _locComment_text="{MaxLength=255} App VoiceTitle" --> | ||
| </VoiceTitle> | ||
| <DevStudio _locID="App_DevStudio"> | ||
| <!-- Specify this value if you want to include a "Developed by" field in the listing. (The "Published by" field will list the publisher display name associated with your account, whether or not you provide a devStudio value.) --> | ||
| <!-- _locComment_text="{MaxLength=255} App DevStudio" --> | ||
| </DevStudio> | ||
| <ReleaseNotes _locID="App_ReleaseNotes"> | ||
| <!-- _locComment_text="{MaxLength=1500} {Locked=__VERSION_NUMBER__} App Release Note" -->Please see our GitHub releases page for additional details.</ReleaseNotes> | ||
| <ScreenshotCaptions> | ||
| <!-- Valid length: 200 character limit, up to 9 elements per platform --> | ||
| <!-- Valid attributes: any of DesktopImage, MobileImage, XboxImage, SurfaceHubImage, and HoloLensImage --> | ||
| <Caption DesktopImage="Prompt.png" _locID="App_caption1"> | ||
| <!-- _locComment_text="{MaxLength=200} Screenshot caption 1" --> | ||
| Prompt | ||
| </Caption> | ||
| <Caption DesktopImage="Predictor_Inline.png" _locID="App_caption2"> | ||
| <!-- _locComment_text="{MaxLength=200} Screenshot caption 2" --> | ||
| Inline Prediction | ||
jshigetomi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| </Caption> | ||
| <Caption DesktopImage="Predictor_ListView.png" _locID="App_caption3"> | ||
| <!-- _locComment_text="{MaxLength=200} Screenshot caption 3" --> | ||
| Prediction List View | ||
| </Caption> | ||
| <Caption DesktopImage="Error.png" _locID="App_caption4"> | ||
| <!-- _locComment_text="{MaxLength=200} Screenshot caption 4" --> | ||
| Error Feedback Provider | ||
| </Caption> | ||
| <Caption DesktopImage="Feedback_Provider.png" _locID="App_caption5"> | ||
| <!-- _locComment_text="{MaxLength=200} Screenshot caption 5" --> | ||
| Feedback Provider | ||
| </Caption> | ||
| <Caption DesktopImage="Experimental_Features.png" _locID="App_caption6"> | ||
| <!-- _locComment_text="{MaxLength=200} Screenshot caption 6" --> | ||
| Experimental Features | ||
| </Caption> | ||
| </ScreenshotCaptions> | ||
| <AdditionalAssets> | ||
| <Icon FileName="pwshLogo.png" /> | ||
jshigetomi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| <!-- Valid elements:--> | ||
| <!-- HeroImage414x180, HeroImage846x468, HeroImage558x756, HeroImage414x468, HeroImage558x558, HeroImage2400x1200,--> | ||
| <!-- ScreenshotWXGA, ScreenshotHD720, ScreenshotWVGA, Doublewide, Panoramic, Square,--> | ||
| <!-- SmallMobileTile, SmallXboxLiveTile, LargeMobileTile, LargeXboxLiveTile, Tile,--> | ||
| <!-- DesktopIcon, Icon (use this value for the 1:1 300x300 pixels logo), AchievementIcon,--> | ||
| <!-- ChallengePromoIcon, RewardDisplayIcon, Icon150X150, Icon71X71,--> | ||
| <!-- BoxArt, BrandedKeyArt, PosterArt, FeaturedPromotionalArt, PromotionalArt16x9, TitledHeroArt--> | ||
| <!-- There is no content for any of these elements, just a single attribute called FileName. --> | ||
| </AdditionalAssets> | ||
| <Trailers> | ||
| </Trailers> | ||
| <AppFeatures> | ||
| <!-- Valid length: 200 character limit, up to 20 elements --> | ||
| <AppFeature _locID="App_feature1"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 1" -->Interactive Shell</AppFeature> | ||
| <AppFeature _locID="App_feature2"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 2" -->Scripting Language</AppFeature> | ||
| <AppFeature _locID="App_feature3"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 3" -->Remote Management</AppFeature> | ||
| <AppFeature _locID="App_feature4"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 4" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature5"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 5" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature6"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 6" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature7"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 7" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature8"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 8" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature9"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 9" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature10"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 10" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature11"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 11" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature12"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 12" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature13"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 13" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature14"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 14" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature15"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 15" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature16"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 16" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature17"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 17" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature18"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 18" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature19"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 19" --> | ||
| </AppFeature> | ||
| <AppFeature _locID="App_feature20"> | ||
| <!-- _locComment_text="{MaxLength=200} App Feature 20" --> | ||
| </AppFeature> | ||
| </AppFeatures> | ||
| <RecommendedHardware> | ||
| <!-- Valid length: 200 character limit, up to 11 elements --> | ||
| <Recommendation _locID="App_RecommendedHW1"> | ||
| <!-- _locComment_text="{MaxLength=200} App Recommended Hardware 1" --> | ||
| </Recommendation> | ||
| </RecommendedHardware> | ||
| <MinimumHardware> | ||
| <!-- Valid length: 200 character limit, up to 11 elements --> | ||
| </MinimumHardware> | ||
| <CopyrightAndTrademark _locID="App_CopyrightandTrademark"> | ||
| <!-- _locComment_text="{MaxLength=200} Copyright and Trademark" -->Microsoft Corporation</CopyrightAndTrademark> | ||
| <AdditionalLicenseTerms _locID="App_AdditionalLicenseTerms"> | ||
| <!-- _locComment_text="{MaxLength=10000} Additional License Terms" --> | ||
| </AdditionalLicenseTerms> | ||
| <WebsiteURL _locID="App_WebsiteURL"> | ||
| <!-- _locComment_text="{MaxLength=2048} WebsiteURL" -->https://github.com/PowerShell/PowerShell</WebsiteURL> | ||
| <SupportContactInfo _locID="App_SupportContactInfo"> | ||
| <!-- _locComment_text="{MaxLength=2048} Support Contact Info" -->https://github.com/PowerShell/PowerShell/issues</SupportContactInfo> | ||
| <PrivacyPolicyURL _locID="App_PrivacyURL"> | ||
| <!-- _locComment_text="{MaxLength=2048} Privacy Policy URL" -->https://go.microsoft.com/fwlink/?LinkID=521839</PrivacyPolicyURL> | ||
| </ProductDescription> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| { | ||
| "helpUri": "https:\\\\aka.ms\\StoreBroker_Config", | ||
| "schemaVersion": 2, | ||
| "packageParameters": { | ||
| "PDPRootPath": "", | ||
| "Release": "", | ||
| "PDPInclude": [], | ||
| "PDPExclude": [], | ||
| "LanguageExclude": [ | ||
| "default", | ||
| "qps-ploc", | ||
| "qps-ploca", | ||
| "qps-plocm" | ||
| ], | ||
| "MediaRootPath": "", | ||
| "MediaFallbackLanguage": "en-US", | ||
| "PackagePath": [], | ||
| "OutPath": "", | ||
| "OutName": "", | ||
| "DisableAutoPackageNameFormatting": false | ||
| }, | ||
| "appSubmission": { | ||
| "productId": "", | ||
| "targetPublishMode": "NotSet", | ||
| "targetPublishDate": null, | ||
| "visibility": "NotSet", | ||
| "pricing": { | ||
| "priceId": "NotAvailable", | ||
| "trialPeriod": "NoFreeTrial", | ||
| "marketSpecificPricings": {}, | ||
| "sales": [] | ||
| }, | ||
| "allowTargetFutureDeviceFamilies": { | ||
| "Xbox": false, | ||
| "Team": false, | ||
| "Holographic": false, | ||
| "Desktop": false, | ||
| "Mobile": false | ||
| }, | ||
| "allowMicrosoftDecideAppAvailabilityToFutureDeviceFamilies": false, | ||
| "enterpriseLicensing": "None", | ||
| "applicationCategory": "NotSet", | ||
| "hardwarePreferences": [], | ||
| "hasExternalInAppProducts": false, | ||
| "meetAccessibilityGuidelines": false, | ||
| "canInstallOnRemovableMedia": false, | ||
| "automaticBackupEnabled": false, | ||
| "isGameDvrEnabled": false, | ||
| "gamingOptions": [ | ||
| { | ||
| "genres": [], | ||
| "isLocalMultiplayer": false, | ||
| "isLocalCooperative": false, | ||
| "isOnlineMultiplayer": false, | ||
| "isOnlineCooperative": false, | ||
| "localMultiplayerMinPlayers": 0, | ||
| "localMultiplayerMaxPlayers": 0, | ||
| "localCooperativeMinPlayers": 0, | ||
| "localCooperativeMaxPlayers": 0, | ||
| "isBroadcastingPrivilegeGranted": false, | ||
| "isCrossPlayEnabled": false, | ||
| "kinectDataForExternal": "Disabled" | ||
| } | ||
| ], | ||
| "notesForCertification": "" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| steps: | ||
| - pwsh: | | ||
| # Determine LTS, Preview, or Stable | ||
| $metadata = Get-Content "$repoRoot/tools/metadata.json" -Raw | ConvertFrom-Json | ||
| $LTS = $metadata.LTSRelease.Latest | ||
| $Stable = $metadata.StableRelease.Latest | ||
| $isPreview = '$(OutputReleaseTag.releaseTag)' -match '-' | ||
|
|
||
| $IsLTS = [bool]$LTS | ||
| $IsStable = [bool]$Stable | ||
| $IsPreview = [bool]$isPreview | ||
|
|
||
| $channelVars = @{ | ||
| IsLTS = $IsLTS | ||
| IsStable = $IsStable | ||
| IsPreview = $IsPreview | ||
| } | ||
|
|
||
| $trueCount = ($channelVars.Values | Where-Object { $_ }) | Measure-Object | Select-Object -ExpandProperty Count | ||
| if ($trueCount -gt 1) { | ||
| Write-Error "Only one of IsLTS, IsStable, or IsPreview can be true. Current values: IsLTS=$IsLTS, IsStable=$IsStable, IsPreview=$IsPreview" | ||
jshigetomi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| exit 1 | ||
| } | ||
|
|
||
| foreach ($name in $channelVars.Keys) { | ||
| $value = if ($channelVars[$name]) { 'true' } else { 'false' } | ||
| Write-Verbose -Message "Setting $name variable: $value" -Verbose | ||
| Write-Host "##vso[task.setvariable variable=$name;isOutput=true]$value" | ||
| } | ||
| name: ChannelSelection | ||
| displayName: Select Preview, Stable, or LTS Channel | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.