mirror of
https://github.com/prompt-security/clawsec.git
synced 2026-06-13 13:38:03 +03:00
fix: improve commit handling and rollback logic in release script (#12)
This commit is contained in:
@@ -350,7 +350,8 @@ jobs:
|
||||
continue
|
||||
fi
|
||||
|
||||
# --- Copy root-level docs alongside the zip ---
|
||||
# --- Copy skill.json and root-level docs alongside the zip ---
|
||||
cp "${json_path}" "${out_assets}/skill.json"
|
||||
if [ -f "${skill_dir}/SKILL.md" ]; then
|
||||
cp "${skill_dir}/SKILL.md" "${out_assets}/SKILL.md"
|
||||
fi
|
||||
@@ -579,7 +580,8 @@ jobs:
|
||||
files: $files
|
||||
}' > "release-assets/checksums.json"
|
||||
|
||||
# --- Copy root-level docs alongside the zip ---
|
||||
# --- Copy skill.json and root-level docs alongside the zip ---
|
||||
cp "$SKILL_PATH/skill.json" release-assets/skill.json
|
||||
if [ -f "$SKILL_PATH/SKILL.md" ]; then
|
||||
cp "$SKILL_PATH/SKILL.md" release-assets/
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user