From 579916bbf1ca17949c0fe557842f0ffb6c7bd548 Mon Sep 17 00:00:00 2001 From: cinco euzebio Date: Sun, 1 Mar 2026 00:01:29 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(ci):=20corrigir=20pipeline?= =?UTF-8?q?=20release=20para=20tags=20v*?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Filtro de ref corrigido: [0-9]* → v* para bater em tags "v0.3.0" - awk agora strip o prefixo 'v' de DRONE_TAG antes de buscar no CHANGELOG - Adiciona entrada 0.3.0 no CHANGELOG.md --- .drone.yml | 7 ++++--- CHANGELOG.md | 10 ++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 23b5dcc..6bb554d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -53,7 +53,7 @@ trigger: event: - tag ref: - - refs/tags/[0-9]* + - refs/tags/v* steps: - name: build-x86_64 @@ -76,8 +76,9 @@ 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) + # Extract changelog entry for this tag (strip leading 'v' to match CHANGELOG format) + TAG="${DRONE_TAG#v}" + BODY=$(awk "/^## \[${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" \ diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fc95a8..f545ed1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ 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.3.0] - 2026-03-01 + +### Added +- Verificação de dependências (`fzf` e `tmux`) ao iniciar, antes de qualquer operação +- Detecção automática do gerenciador de pacotes da distro (apt, pacman, dnf, yum, zypper, emerge, xbps, apk) +- Oferta interativa de instalação caso as ferramentas estejam ausentes +- Módulo `deps` com trait `BinaryChecker` injetável para testes unitários sem tocar no sistema real +- Testes de integração em `tests/deps.rs` (11 testes com `SystemBinaryChecker` real) +- Suite de testes em container Docker Ubuntu 24.04 (`tests/docker/`) com 15 cenários simulando novo usuário + ## [0.2.4] - 2026-03-01 ### Fixed