25 Commits

Author SHA1 Message Date
21a7406f91 🐛 fix: consolidate publish-github into single shell block
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
Multiple command blocks caused $RELEASE_ID to be lost between shells.
Using ${ARCH} with braces triggered Drone variable substitution before
the shell ran, resulting in an empty arch name. Fix: single | block
with all logic, iterate over full filenames (same pattern as publish),
and use ENVIRON["DRONE_TAG"] in awk to bypass Drone substitution.
2026-03-01 04:56:36 -03:00
c073a7c6f9 feat: publish releases to GitHub and update install source
Some checks failed
continuous-integration/drone/tag Build is failing
continuous-integration/drone/push Build is passing
- Self-update now queries the GitHub Releases API (parse_latest_tag extracted for testability)
- install.sh now fetches and downloads from GitHub Releases
- Drone CI release pipeline publishes to both Gitea and GitHub via GITHUB_TOKEN secret
- Bump version to 0.7.0
2026-03-01 04:50:52 -03:00
c6a642326b 🔧 ci: delete existing release before recreating on retag
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
When a tag is deleted and recreated, the CI tried to POST a new
release that already existed, getting 409 and leaving RELEASE_ID
null, which caused asset uploads to fail with 405. Now checks for
an existing release by tag and deletes it before creating a new one.
2026-03-01 03:34:27 -03:00
86d8a44aa7 🔧 ci: update release trigger to match tags without v prefix
All checks were successful
continuous-integration/drone/tag Build is passing
2026-03-01 00:58:53 -03:00
d77d17a7ea 🐛 fix(ci): read DRONE_TAG via awk ENVIRON to fix empty release body
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
Drone CI substitutes ${VAR} in commands before the shell runs.
Since TAG is a local shell variable (not a Drone var), ${TAG} was
replaced with an empty string, causing the awk pattern to match
nothing and the release body to be empty.

Fix: read DRONE_TAG directly inside awk via ENVIRON["DRONE_TAG"]
and strip the v-prefix with gsub — no intermediate shell variable needed.

Also translate CHANGELOG.md to English.
2026-03-01 00:19:10 -03:00
579916bbf1 🐛 fix(ci): corrigir pipeline release para tags v*
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
- 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
2026-03-01 00:01:29 -03:00
d75383e375 ci: migrate coverage badge to orphan badges branch
All checks were successful
continuous-integration/drone/push Build is passing
Replace Gitea packages (served as octet-stream) with a dedicated
orphan branch. Raw branch URL serves SVG with correct content-type.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 23:25:10 -03:00
556379a806 fix(ci): delete existing package before PUT to avoid 409
All checks were successful
continuous-integration/drone/push Build is passing
Gitea generic packages returns 409 if file already exists at same
version. Delete the version first, then re-upload.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 23:17:56 -03:00
32b8b37a5e ci: migrate coverage badge to Gitea Packages
Some checks failed
continuous-integration/drone/push Build is failing
Replace commit-based badge update with a single PUT to the Gitea
generic packages API. Removes the badges/ directory from the repo
and eliminates CI commits on every push.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 23:16:03 -03:00
d06335cd4f ci: renomear branch master para main
All checks were successful
continuous-integration/drone/push Build is passing
Atualiza referências de master para main em .drone.yml e README.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 22:56:07 -03:00
251e5766f4 🐛 fix(ci): gerar badge SVG inline e remover tr com octais
All checks were successful
continuous-integration/drone/push Build is passing
2026-02-28 22:32:19 -03:00
2de294a828 🐛 fix(ci): unificar blocks e sanitizar JSON do Gitea antes do jq
Some checks failed
continuous-integration/drone/push Build is failing
2026-02-28 22:27:08 -03:00
5b5f6a3020 🐛 fix(ci): usar base64 -w 0 e POST/PUT correto no upload do badge 2026-02-28 22:20:40 -03:00
3325f0945d ci: debug base64 and SHA GET response
Some checks failed
continuous-integration/drone/push Build is failing
2026-02-28 21:48:39 -03:00
31d36bd183 ci: add debug output to coverage upload step
Some checks failed
continuous-integration/drone/push Build is failing
2026-02-28 21:44:08 -03:00
752bb1d751 ci: use awk to parse coverage percentage
Some checks failed
continuous-integration/drone/push Build is failing
2026-02-28 21:38:28 -03:00
41523ce6a1 ci: fix coverage parsing and JSON payload construction
Some checks failed
continuous-integration/drone/push Build is failing
2026-02-28 21:34:01 -03:00
801a2c08fb ci: store coverage badge via repo contents API
Some checks failed
continuous-integration/drone/push Build is failing
2026-02-28 21:29:29 -03:00
ff0a44081a ci: fix tarpaulin JSON field for coverage percentage
All checks were successful
continuous-integration/drone/push Build is passing
2026-02-28 21:19:56 -03:00
6353ca8f52 ci: restrict release pipeline to version tags only
Some checks failed
continuous-integration/drone/push Build is failing
2026-02-28 21:14:14 -03:00
d1446730b9 ci: use Gitea generic package registry for coverage badge 2026-02-28 21:08:39 -03:00
71971c7b1b ci: add coverage badge pipeline and README badges
Some checks failed
continuous-integration/drone/push Build is failing
2026-02-28 21:04:05 -03:00
7c02b9f55d docs: add CHANGELOG and use it as release description in CI
All checks were successful
continuous-integration/drone/push Build is passing
2026-02-28 20:26:29 -03:00
2bf1dc3ff4 ci: add test pipeline and bump version to 0.2.1
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
Adds a Drone CI pipeline that runs on push and pull_request events,
executing cargo fmt --check, cargo clippy, and cargo test in sequence.
2026-02-28 20:23:09 -03:00
9c7823475c Initial release of tmuxido
All checks were successful
continuous-integration/drone/tag Build is passing
Rust-based tmux project launcher with fzf selection, incremental
mtime-based cache, per-project .tmuxido.toml session config, and
Drone CI pipeline for automated binary releases.
2026-02-28 19:06:43 -03:00