fix: propagate exit codes in youtube-summarizer --list mode

Fixed automation-breaking issue where --list mode always returned exit code 0,
even when list_available_transcripts() failed due to invalid video ID or network errors.

Changes:
- extract-transcript.py: Capture return value and exit with proper status code
  - Before: list_available_transcripts(video_id); sys.exit(0)
  - After: success = list_available_transcripts(video_id); sys.exit(0 if success else 1)
- SKILL.md: Bumped version to 1.2.1
- CHANGELOG.md: Created changelog with v1.2.1 release notes

Impact: Automation scripts can now detect failures correctly via exit codes.

Identified by Codex automated review in antigravity-awesome-skills PR #62.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Eric Andrade
2026-02-04 18:47:37 -03:00
parent eb493121d3
commit 621dbe008e
3 changed files with 69 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
---
name: youtube-summarizer
description: "Extract transcripts from YouTube videos and generate comprehensive, detailed summaries using intelligent analysis frameworks"
version: 1.2.0
version: 1.2.1
author: Eric Andrade
created: 2025-02-01
updated: 2026-02-04