diff --git a/CHANGELOG.md b/CHANGELOG.md index 74cc91e..17ffae4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). - **harmonyos-build-deploy**: Fixed module type identification — now uses `module.json5` `type` field instead of heuristic based on `targets` presence - **harmonyos-build-deploy**: Extracted module discovery, build outputs, and unwanted modules into `references/module-discovery.md` (~138 lines moved out of SKILL.md) - **harmonyos-build-deploy**: Fixed unquoted variable in install.sh script +- **harmonyos-build-deploy**: Deploy Only workflow now checks for empty output directory and collects signed artifacts from module build directories ### Removed diff --git a/harmonyos-build-deploy/SKILL.md b/harmonyos-build-deploy/SKILL.md index 2b88a47..cee13a3 100644 --- a/harmonyos-build-deploy/SKILL.md +++ b/harmonyos-build-deploy/SKILL.md @@ -66,9 +66,10 @@ Delegate to subagent with the following steps: Delegate to subagent with the following steps: 1. Read `AppScope/app.json5` to get bundleName -2. Deploy to device (see [Push and Install](#push-and-install) below) -3. Launch: `hdc -t shell "aa start -a EntryAbility -b "` -4. Report success/failure with details +2. Check `outputs/default/bundles/signed/` for existing build outputs. If empty or missing, collect signed HAP/HSP from each module's build directory (`{srcPath}/build/default/outputs/default/*-signed.*`) into `outputs/default/bundles/signed/`. See [module-discovery.md](references/module-discovery.md) for details. +3. Deploy to device (see [Push and Install](#push-and-install) below) +4. Launch: `hdc -t shell "aa start -a EntryAbility -b "` +5. Report success/failure with details ### Clean App Cache/Data