Compare commits

..
3 Commits
3 changed files with 10 additions and 2 deletions
+3 -1
View File
@@ -25,7 +25,7 @@ steps:
- apt-get update -qq && apt-get install -y -qq jq curl - apt-get update -qq && apt-get install -y -qq jq curl
- cargo tarpaulin --out Json 2>/dev/null - cargo tarpaulin --out Json 2>/dev/null
- | - |
PCT=$(jq '.coverage | floor' tarpaulin-report.json) PCT=$(jq '(.covered / .coverable * 100) | floor' tarpaulin-report.json)
if [ "$PCT" -ge 80 ]; then COLOR="brightgreen" if [ "$PCT" -ge 80 ]; then COLOR="brightgreen"
elif [ "$PCT" -ge 60 ]; then COLOR="yellow" elif [ "$PCT" -ge 60 ]; then COLOR="yellow"
else COLOR="red"; fi else COLOR="red"; fi
@@ -47,6 +47,8 @@ name: release
trigger: trigger:
event: event:
- tag - tag
ref:
- refs/tags/[0-9]*
steps: steps:
- name: build-x86_64 - name: build-x86_64
+6
View File
@@ -4,6 +4,12 @@ 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/). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [0.2.4] - 2026-03-01
### Fixed
- Cálculo do percentual de cobertura no CI (campo correto do JSON do tarpaulin)
- Pipeline `release` restrito a tags com formato de versão (`[0-9]*`)
## [0.2.2] - 2026-02-28 ## [0.2.2] - 2026-02-28
### Added ### Added
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "tmuxido" name = "tmuxido"
version = "0.2.2" version = "0.2.4"
edition = "2024" edition = "2024"
[dev-dependencies] [dev-dependencies]