diff --git a/.drone.yml b/.drone.yml index e77ed94..b3255ab 100644 --- a/.drone.yml +++ b/.drone.yml @@ -45,11 +45,13 @@ steps: commands: - apk add --no-cache curl jq - | + # Extract changelog entry for this tag (content between this and previous ## heading) + BODY=$(awk "/^## \[${DRONE_TAG}\]/{found=1; next} found && /^## \[/{exit} found{print}" CHANGELOG.md) RELEASE_ID=$(curl -fsSL -X POST \ -H "Authorization: token $GITEA_TOKEN" \ -H "Content-Type: application/json" \ "https://git.cincoeuzebio.com/api/v1/repos/cinco/Tmuxido/releases" \ - -d "{\"tag_name\":\"$DRONE_TAG\",\"name\":\"$DRONE_TAG\",\"body\":\"Release $DRONE_TAG\"}" \ + -d "{\"tag_name\":\"$DRONE_TAG\",\"name\":\"$DRONE_TAG\",\"body\":$(echo "$BODY" | jq -Rs .)}" \ | jq -r .id) for ASSET in tmuxido-x86_64-linux tmuxido-aarch64-linux; do curl -fsSL -X POST \ diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..b79dd01 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,29 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). + +## [0.2.1] - 2026-02-28 + +### Added +- Drone CI pipeline (`ci`) that runs `cargo fmt --check`, `cargo clippy`, and `cargo test` on every push and pull request + +## [0.2.0] - 2026-02-28 + +### Added +- Unit tests for `cache`, `session`, and `config` modules +- Integration tests for scan, session config, and cache lifecycle + +### Changed +- Refactored business logic into `lib.rs` for better testability; `main.rs` is now a thin entrypoint + +## [0.1.1] - 2026-02-28 + +### Fixed +- Removed personal path references from default configuration and examples + +## [0.1.0] - 2026-02-28 + +### Added +- Initial release of tmuxido