Introduction¶
The DeepSeek Harness (DSH) plugin ecosystem extends agent capabilities through modularization. In Android development, configuring automated deployment workflows for the Google Play Store typically involves key management, service account setup, and writing GitHub Actions workflows. These steps are cumbersome and error-prone. The xby-hitoshura25-android-playstore-deploy plugin aims to lower the deployment barrier by automatically generating these configuration files and scripts.
Plugin Introduction¶
This is an Android app store deployment tool maintained by xby-skill. It integrates a complete automation process, including Android project analysis, signing key generation, Gradle signing configuration, GitHub Actions workflow generation, and Play Store environment validation.
Core Features¶
The plugin provides the following core capabilities:
- Key and Signing Management
generate_keystore: Generates an Android signing key, supporting custom key alias, password, validity period, key size, and certificate DN.generate_signing_config: Generates a Gradle signing configuration. The configuration prioritizes environment variables (suitable for CI/CD), with a fallback to gradle.properties when environment variables are not set. It also generates a gradle.properties.template.
- CI/CD Pipeline Construction
generate_github_workflow: Generates a complete GitHub Actions workflow file. Supports configuring the release track, trigger strategy, ProGuard rules, release notes directory, and Java version.validate_github_secrets: Checks whether GitHub Secrets exist (only checks names, not values).create_github_secrets_guide: Generates a complete guide for creating the required GitHub Secrets.
- Play Store Environment Configuration
setup_service_account_guide: Provides a step-by-step guide for setting up a Google Play service account.validate_play_store_setup: Validates Play Store app and API access permissions using a service account JSON file.
- Project Analysis and Auxiliary Support
analyze_android_project: Analyzes the Android project configuration and identifies requirements needed for Play Store deployment.set_xby_apikey: Sets the API key. This key is automatically persisted and remains valid after a restart.test_deployment_workflow: Tests the deployment workflow locally. Supports dry_run mode, which skips the actual Play Store upload.
Installation and Enablement¶
Use the following command to install the plugin:
dsh plugin --profile web add github:xby_skill/xby-hitoshura25-android-playstore-deploy
Typical Usage¶
The following are typical ways to use this plugin in a development workflow:
- Generate the Workflow: Run
generate_github_workflowin the project root directory, specifying the release track (e.g., production), trigger strategy (e.g., tag), and Java version. The plugin generates a GitHub Actions workflow that supports ProGuard and a custom release notes directory. - Test Locally: Before committing code, use
test_deployment_workflowto validate locally. Enablingdry_runskips the actual upload and only checks whether the build process works correctly. - Configure Signing: For CI/CD environments, use
generate_signing_configand specifyenv_var_prefix(default: “APP_”). The plugin preferentially reads key paths and passwords from environment variables, avoiding exposure of sensitive information in CI logs.
Use Cases and Notes¶
This plugin is suitable for development teams that need to release Android apps to the Google Play Store frequently.
- Permissions and Runtime Environment: The plugin runs under the permissions of the current DSH process. Please review the source code and license before installing.
- Validation Mechanism:
validate_github_secretsonly checks whether secret names exist; it does not validate whether the secret values are correct. Manual verification is recommended after secrets are created. - Key Persistence: The API key set by
set_xby_apikeyis persistent and remains valid after restarting the terminal or process.
Conclusion¶
With the features described above, developers can quickly build an automated pipeline from local builds to Play Store releases. For more details and source code, please refer to the plugin directory page or GitHub repository.
- Directory Page: https://www.skillhub.cn/plugins/xby-skill/xby-hitoshura25-android-playstore-deploy
- GitHub: https://github.com/xby-skill/xby-hitoshura25-android-playstore-deploy