mirror of
https://github.com/lahfir/agent-desktop.git
synced 2026-07-27 09:32:17 +00:00
ci: fix clawhub skill publish command
This commit is contained in:
parent
20fa631796
commit
115e31945d
1 changed files with 15 additions and 5 deletions
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
|
|
@ -431,8 +431,18 @@ jobs:
|
|||
|
||||
- name: Publish all skills to ClawHub
|
||||
run: |
|
||||
clawhub sync \
|
||||
--root skills/ \
|
||||
--all \
|
||||
--bump patch \
|
||||
--changelog "Release ${{ needs.release-please.outputs.tag_name }}"
|
||||
set -euo pipefail
|
||||
SOURCE_COMMIT="$(git rev-parse HEAD)"
|
||||
for skill_dir in skills/*; do
|
||||
[ -d "$skill_dir" ] || continue
|
||||
[ -f "$skill_dir/SKILL.md" ] || continue
|
||||
slug="$(basename "$skill_dir")"
|
||||
clawhub publish "$skill_dir" \
|
||||
--slug "$slug" \
|
||||
--changelog "Release ${{ needs.release-please.outputs.tag_name }}" \
|
||||
--tags latest \
|
||||
--source-repo "${GITHUB_REPOSITORY}" \
|
||||
--source-commit "$SOURCE_COMMIT" \
|
||||
--source-ref "${{ needs.release-please.outputs.tag_name }}" \
|
||||
--source-path "$skill_dir"
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue