Coder Social home page Coder Social logo

java-play-store-uploader's Introduction

Build Status Open issues Pull requests GitHub issues

Play Store Uploader

This is a simple tool to upload android apk builds to play store. Suitable for automation of play store uploads in a CI system.

Requirements

  1. Java (JRE) 8 or above

Install

  1. Download the latest zip or tar archive from Releases Section.
  2. Unpack archive contents to any location.
  3. Execute the binaries in bin directory. On unix use PlayStoreUploader, while on windows use PlayStoreUploader.bat.

Usage

1. Setup Play Store

Ensure that the app is created on Play Store. Setup Play Store listing and other required information so that release management is enabled and new releases can be published. It is advised to do a manual upload and release at least once in the beginning.

2. Setup Release Tracks

Play Store allows to upload apps on release tracks like alpha, beta and production. Enable and setup the track you want to use, on Play Store console.

3. Get Service Account Key

To access Play Store API a JSON key file is needed. On Play Store, goto API Access section and configure a service account with Play Store API access. Download and save the JSON credentials of this account.

4. Build apk file

Build signed production android apk file to upload. In case of a CI server, this file should be already generated.

4. Run Upload Command

Execute the binary, passing required data in arguments.

PlayStoreUploader -key "key.json" -apk "app.apk" -track "alpha" -name "myApp" -notes "new release"

CLI Options

Running without any arguments will print available argument options.

Options:
 -apk VAL       : The apk file to upload
 -key VAL       : JSON key file of authorized service account
 -name VAL      : (optional) App name on Play Store (defaults to name in apk)
 -notes VAL     : (optional) Release notes
 -notesFile VAL : (optional) Release notes from file
 -track VAL     : Release track to use. Eg. alpha, beta, production etc

Development

To build:

./gradlew clean assemble

To run:

./gradlew run --args "...arguments"

Pull requests and suggestions are welcome.

java-play-store-uploader's People

Contributors

kajinka13 avatar

Watchers

 avatar

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.