ipakpublisher

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

中文说明

ipakpublisher cli

This program can be limited to help you edit the application information on the Apple App store. Help you upload and publish apps to Google play.

It will work well in CI / CD automation pipeline.

Realize the command line operation of App Store Connect API.

Realize the command line operation of Google Play Developer API.

Usage

set api auth info

  • use toml config file,like:
[apple]
# Key ID for the given private key, described in App Store Connect
KeyID="xxxx"
# Issuer ID for the App Store Connect team
IssuerID="xxxx"
# A duration value for the lifetime of a token. App Store Connect does not accept a token with a lifetime of longer than 20 minutes
ExpiryDuration ="20m"
# The bytes of the PKCS#8 private key created on App Store Connect. Keep this key safe as you can only download it once.
PrivateKeyFile ="/path/xxxx.p8"
[google]
application_credentials_file=""
  • Using environment variables
 export AT_APPLE_KEYID=xxx
 export AT_APPLE_ISSUERID=yyy
 export AT_APPLE_PRIVATEKEYFILE=/path
 export AT_APPLE_EXPIRYDURATION=20s
 export AT_APPLE_EXPIRYDURATION=20s
 export AT_GOOGLE_APPLICATION_CREDENTIALS_FILE=./xxx

Usage

Global

Usage:
  ipakpublisher [command]

Available Commands:
  aab         push the aab file
  apk         push the apk file
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  ipa         Perform IPA related operations

Flags:
  -c, --config string    config file for app store connect api auth (default is $HOME/.ipakpublisher.toml)
  -h, --help             help for ipakpublisher
  -w, --workdir string   workdir path (default is $(pwd))

ipa

Perform IPA related operations.

Usage:
  ipakpublisher ipa [flags]

Flags:
  -b, --bundle-id string   Specify the ipa bundleid.
  -h, --help               help for ipa
  -i, --init               If you specify this option, metadata is downloaded from the API and an attempt is made to overwrite the local record.When this operation is completed, the program terminates.
  -p, --platform string    Specify the platform. (default "IOS")
  -s, --sync               If you specify this option, To simultaneously transfer the local data to the remote location through API.
  -v, --version string     the app version string,e.g. 1.0.0

Global Flags:
  -c, --config string    config file for app store connect api auth (default is $HOME/.ipakpublisher.toml)
  -w, --workdir string   workdir path (default is $(pwd))

apk

Use this command when you want to publish an app in APK format

Usage:
  ipakpublisher apk [flags]

Flags:
  -f, --file string           the app file path.
  -h, --help                  help for apk
  -i, --init                  If you specify this option, A multilingual change log configuration template will be generated locally. Due to API limitations, this method will not pull data from the remote.
      --notes-file string     This option loads a text content as the update log.
  -n, --package-name string   app package name
  -p, --platform string       Specify the platform. (default "android")
  -s, --sync                  If you specify this option, To simultaneously transfer the local data to the remote location through API.
      --timeout string        Set upload timeout (default "2m")
  -t, --track strings         If this option is set.
                                it will be published to these tracks after the application upload is completed.
                                You can specify multiple times.
                                The optional values are:
                                alpha
                                beta
                                internal
                                production

Global Flags:
  -c, --config string    config file for app store connect api auth (default is $HOME/.ipakpublisher.toml)
  -w, --workdir string   workdir path (default is $(pwd))

aab

Use this command when you want to publish an app in AAB format

Usage:
  ipakpublisher aab [flags]

Flags:
  -f, --file string           the app file path.
  -h, --help                  help for aab
  -i, --init                  If you specify this option, A multilingual change log configuration template will be generated locally. Due to API limitations, this method will not pull data from the remote.
      --notes-file string     This option loads a text content as the update log.
  -n, --package-name string   app package name
  -p, --platform string       Specify the platform. (default "android")
  -s, --sync                  If you specify this option, To simultaneously transfer the local data to the remote location through API.
      --timeout string        Set upload timeout (default "2m")
  -t, --track strings         If this option is set.
                                it will be published to these tracks after the application upload is completed.
                                You can specify multiple times.
                                The optional values are:
                                alpha
                                beta
                                internal
                                production

Global Flags:
  -c, --config string    config file for app store connect api auth (default is $HOME/.ipakpublisher.toml)
  -w, --workdir string   workdir path (default is $(pwd))

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL