Git Product home page Git Product logo

ober's Introduction

ober

Build status Coverage GitHub release chocolatey Nuget package

Automate your Windows Store App deploys

This CLI tool is made to help you make use of the Windows Store Submission API. The setup is similar to the Analytics API, a guide can be found here.

Just make sure the App ID URL is https://manage.devcenter.microsoft.com and not anything app specific. This will also allow access to the analytics API, the documentation is a bit off.

My steps were:

  • Navigate to the old Azure portal and select the correct directory (the one associated with the Store)
  • Select Applications
  • Add new and select Add an application my organization is developing
  • Enter a name and select Web application and/or web API
  • Sign on URL doesn't matter, APP ID URL is https://manage.devcenter.microsoft.com
  • Wait for it to configure
  • Tap CONFIGURE
  • You will have to create a new key and copy that and the Client ID
  • Get the tenant ID from the URL above: https://manage.windowsazure.com/@<your_tenant_name>#workspaces/ActiveDirectoryExtension/Directory/<your_tenant_ID>/direcotryQuickStart
  • Add the application by selecting it from the list in your Windows Store's settings (Manage Users)

Configuration

Ober get's it's settings from a YAML config file called .oberconfig in your user's root folder (~.oberconfig). Create or edit that file to get started, the template is as follows:

Credentials:
  ClientId: <clientID>
  Key: <key>
  TenantId: <tenantID>

Usage

Currently only the submit command has been implemented, it can be used to deploy packages to the Store for both regular releases and flights. The submission API wants all assets bundled in a .zip file, so provide all .appxupload files in the zip. Ober will not allow the submission when no packages are found inside of the zip file.

submit

release
ober submit -a "<appID>" -p "<zip location>"
flight
ober submit -a "<appID>" -f "<flightID>" -p "<zip location>"

If you need a more detailed log (WIP, it might break the progress indicators for now), you can use -v to toggle verbose logging.

Jan-Joris, Ober and Out!

ober's People

Contributors

jandedobbeleer avatar janjoris avatar kristofclaes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ober's Issues

Add support for *.appxbundle files

I don't know about your system, but when I am compiling an UWP app for the store, MSBuild always creates a *.appxbundle file which is a ZIP archive containing all relevant *.appx files for the store. It would be nice if ober could support these as well :)

Account is not allowed to access this API

Hi,
I've created the application and assigned it to the store as in docs,
but after trying to create submission app fails with error:
{code : "Unauthorized", message: "Authorization: Account is not allowed to access this API"}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.