Installing dg commandPlease install dg command from here. Install Page
To verify your dg command installation, use the
$ dg --version
Build and UploadPlease run
dg deployon the root directory of your Android or iOS project.
$ dg deploy
Or you can specify the .apk/.ipa file directly.
$ dg deploy /path/to/app
dg deployhas several options. For example,
--messagefor adding a description of the build.
dg deploy --helpto see other options.
$ dg deploy --message 'upload message'
$ dg deploy --help
Adding new iOS devices (for iOS Ad Hoc distributions)When you or your Tester add a new iOS device to DeployGate, you will receive an email that ask you to add the UDID to your provisioning profile.
You can do this by just running
dg add-devicesin your terminal.
$ dg add-devices
dg add-devicescan also add a specific UDID by using
dg add-devices --helpto see details and other options.
$ dg add-devices --udid 'xxxxxxxxxxxxx'
$ dg add-devices --help
dg loginto log in. If you run this command on a desktop environment, it opens a new browser window for log in.
$ dg login
If you run this command on a server environment or by running with the
--terminaloption, it asks your credentials on the terminal.
$ dg login --terminal
dg logoutto log out from DeployGate.
$ dg logout
HelpYou can see the list of commands anytime by running
$ dg help
UninstallTo uninstall dg command, please run
gem uninstall deploygate.
$ gem uninstall deploygate
dg command is open source. Feel free to visit GitHub repository to join the discussion!