Skip to content

CI: cross-platform auto-release pipeline - #3

Merged
fdciabdul merged 3 commits into
mainfrom
dev
Aug 3, 2026
Merged

CI: cross-platform auto-release pipeline#3
fdciabdul merged 3 commits into
mainfrom
dev

Conversation

@fdciabdul

Copy link
Copy Markdown
Member

What's in here

  • ci.yml — vet + gofmt + test, plus build matrix (linux/darwin/windows amd64+arm64, android/arm64) on push/PR to main & dev. Verified green on its first run.
  • release.yml — fully automatic releases: every push to main computes the next version (patch bump; #minor/#major in the commit message to override), builds all 3 binaries (tele-tui, telegram-mcp, telegram-api) for 6 platform targets, packages tar.gz/zip with checksums, creates the tag, and publishes the GitHub release. Manual v* tag pushes still work.
  • Old build.yml removed; README updated (badge, prebuilt binaries section).

Notes

  • All cross-compiled from one ubuntu runner (pure Go, no CGO) — verified locally and on CI.
  • Once merged, the merge commit itself will trigger the first automatic release (v0.0.1 or next patch after the latest tag).

…to release)

- ci.yml: vet/gofmt/test plus build matrix for linux, darwin, windows
  (amd64/arm64) and android/arm64 — all cross-compiled, CGO_ENABLED=0
- release.yml: on v* tags, build all three binaries (tele-tui,
  telegram-mcp, telegram-api) per platform, package tar.gz/zip with
  README+LICENSE, sha256 checksums, publish via softprops/action-gh-release
- Removes old build.yml (per-OS runners, tele-tui only)
- README: prebuilt binaries section
- version job computes the next tag (patch bump by default, #minor /
  #major in the commit message to override; manual v* tag pushes still
  supported) with collision guard
- softprops/action-gh-release creates the tag on release, so no manual
  tagging or PAT is needed
- serialized via concurrency group
@fdciabdul
fdciabdul merged commit b8fc762 into main Aug 3, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant