https://github.com/jandedobbeleer/ober
https://github.com/jandedobbeleer/ober
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jandedobbeleer/ober
- Owner: JanDeDobbeleer
- License: mit
- Created: 2016-06-08T08:30:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-27T15:59:20.000Z (almost 9 years ago)
- Last Synced: 2025-06-16T15:18:24.042Z (4 months ago)
- Language: C#
- Size: 75.2 KB
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ober
====[](https://ci.appveyor.com/project/JanJoris/ober) [](https://coveralls.io/github/JanJoris/ober) [](https://github.com/JanJoris/ober/releases) [](https://chocolatey.org/packages/ober) [](https://www.nuget.org/packages/ober/)
## 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](https://blogs.windows.com/buildingapps/2016/03/01/windows-store-analytics-api-now-available/).
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](https://manage.windowsazure.com) 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/@#workspaces/ActiveDirectoryExtension/Directory//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](http://yaml.org/) config file called .oberconfig in your user's root folder (~\.oberconfig). Create or edit that file to get started, the template is as follows:
```yaml
Credentials:
ClientId:
Key:
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
```bash
ober submit -a "" -p ""
```
##### flight```bash
ober submit -a "" -f "" -p ""
```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!