diff --git a/.github/workflows/skill-release.yml b/.github/workflows/skill-release.yml index 678903a..8f4d283 100644 --- a/.github/workflows/skill-release.yml +++ b/.github/workflows/skill-release.yml @@ -852,9 +852,8 @@ jobs: VERSION="${{ steps.parse.outputs.version }}" if [ ! -f "$SKILL_PATH/CHANGELOG.md" ]; then - echo "No CHANGELOG.md found" - echo "changelog=" >> $GITHUB_OUTPUT - exit 0 + echo "::error::Missing required changelog file: $SKILL_PATH/CHANGELOG.md" + exit 1 fi # Extract the changelog section for this version @@ -868,18 +867,19 @@ jobs: ' "$SKILL_PATH/CHANGELOG.md" | sed -e :a -e '/^\n*$/{$d;N;ba' -e '}') if [ -z "$CHANGELOG_ENTRY" ]; then - echo "No changelog entry found for version $VERSION" - echo "changelog=" >> $GITHUB_OUTPUT - else - echo "Found changelog entry for version $VERSION" - # Use multiline output format for GitHub Actions - { - echo "changelog<> $GITHUB_OUTPUT + echo "::error::No changelog entry found for version $VERSION in $SKILL_PATH/CHANGELOG.md" + echo "::error::Expected heading format: ## [$VERSION] - YYYY-MM-DD" + exit 1 fi + echo "Found changelog entry for version $VERSION" + # Use multiline output format for GitHub Actions + { + echo "changelog<> $GITHUB_OUTPUT + - name: Create GitHub Release uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0 with: diff --git a/skills/clawsec-scanner/CHANGELOG.md b/skills/clawsec-scanner/CHANGELOG.md index 6e01e75..90481ca 100644 --- a/skills/clawsec-scanner/CHANGELOG.md +++ b/skills/clawsec-scanner/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to the ClawSec Scanner will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.1.0] - 2026-02-27 +## [0.0.1] - 2026-02-27 ### Added