No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tools
.appveyor.yml
.gitattributes
.gitignore
Cake.WindowsAppStore.png
GitReleaseManager.yaml
LICENSE
README.md
build.ps1
build.sh
setup.cake

README.md

Cake.WindowsAppStore - An Addin for Cake

Cake.WindowsAppStore

AppVeyor master branch nuget pre release

Cake.WindowsAppStore allows you to upload an app package to the Windows App Store with just two lines of code. This addin automates the creation of submissions in the Windows Store, as explained in the official documentation.

One time set up

To use automation to the Windows App Store, it's required to associate an Azure AD application with your Windows Dev Center account. After doing this, you should have the following 3 values:

  • Client ID
  • Client Secret
  • Tenant ID

Usage in Cake

In order to use the exposed commands you have to add the following line at top of your build.cake file:

#addin Cake.WindowsAppStore

CreateWindowsStoreAppSubmission

To create a submission, use the code below:

CreateWindowsStoreAppSubmission("./output/myApp.appxupload", new WindowsStoreAppSubmissionSettings
{
    ApplicationId = "my app id"
});

If you don't have the secrets stored in environment variables, use the code below:

CreateWindowsStoreAppSubmission("./output/myApp.appxupload", new WindowsStoreAppSubmissionSettings
{
    ApplicationId = "my app id",
	ClientId = "<client_id>",
    ClientSecret = "<client_secret>",
	TenantId = "<tenant_id>"
});

That's all!

Note that this addin will only create the submission in the Windows Store. You will still need to actually verify and publish your app manually.

Note that this addin does not (yet) support release notes yet since this requires release notes per listing (language)

Don't forget to set your api token from Windows App Store as environment variables on your local machine or CI system: -WINDOWSAPPSTORE_CLIENT_ID -WINDOWSAPPSTORE_CLIENT_SECRET -WINDOWSAPPSTORE_TENANT_ID


Build

To build this package we are using Cake.

On Windows PowerShell run:

./build

On OSX/Linux run:

./build.sh