Skip to content

Commit fefee87

Browse files
Release v0.1.1: HTML report styling, logo, CHANGELOG-based release notes, docs and Clippy fixes
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 8c59363 commit fefee87

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+3988
-4945
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,3 @@ jobs:
3737

3838
- name: Clippy
3939
run: cargo clippy --release -- -D warnings
40-
continue-on-error: true

.github/workflows/release.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Build Linux binaries (amd64, arm64) and publish to GitHub Releases on tag push (e.g. v0.1.0).
1+
# Build Linux binaries (amd64, arm64) and publish to GitHub Releases on tag push (e.g. v0.1.1).
22
# Artifacts: Linux x86_64, Linux aarch64 only.
33

44
name: Release
@@ -71,6 +71,11 @@ jobs:
7171
needs: build
7272
runs-on: ubuntu-latest
7373
steps:
74+
- name: Checkout (for CHANGELOG)
75+
uses: actions/checkout@v4
76+
with:
77+
ref: ${{ github.ref }}
78+
7479
- name: Download all artifacts
7580
uses: actions/download-artifact@v4
7681
with:
@@ -82,11 +87,25 @@ jobs:
8287
find artifacts -type f \( -name '*.tar.gz' -o -name '*.zip' \) -exec cp {} release/ \;
8388
ls -la release/
8489
90+
- name: Extract release notes from CHANGELOG
91+
run: |
92+
VER="${GITHUB_REF#refs/tags/}"
93+
VER_NUM="${VER#v}"
94+
awk -v ver="$VER_NUM" '
95+
$0 ~ "^## \\[" ver "\\]" { found=1; print; next }
96+
found && $0 ~ /^## \[/ { exit }
97+
found { print }
98+
' CHANGELOG.md > release_notes.md || true
99+
if [ ! -s release_notes.md ]; then
100+
echo "See [CHANGELOG](https://github.com/${{ github.repository }}/blob/${GITHUB_REF}/CHANGELOG.md) for details." > release_notes.md
101+
fi
102+
85103
- name: Create GitHub Release and upload assets
86104
uses: softprops/action-gh-release@v2
87105
with:
88106
files: release/*
89-
generate_release_notes: true
107+
body_path: release_notes.md
108+
generate_release_notes: false
90109
draft: false
91110
env:
92111
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.1.1] - 2026-02-06
9+
10+
### Added
11+
12+
- HTML report: Kubescape-style layout (CSS variables, table styling, word-break). Logo shown in report; logo embedded as Data URI so the generated HTML is self-contained (no external assets folder needed when using the released binary).
13+
- Logo assets in `assets/` (logo.png, logo.svg); README and report reference updated.
14+
15+
### Changed
16+
17+
- Documentation reorganized: topic-based filenames in `docs/` (e.g. installation.md, cli-reference.md). Example report filenames unified to `report.*` (md, json, csv, html).
18+
- GitHub Release notes: release workflow now uses CHANGELOG content as the release body so the [Releases](https://github.com/Ghostwritten/kubeowler/releases) page shows a clear update overview.
19+
20+
[0.1.1]: https://github.com/Ghostwritten/kubeowler/releases/tag/v0.1.1
21+
822
## [0.1.0] - 2026-02-05
923

1024
### Added

0 commit comments

Comments
 (0)