Skip to content

Add GitHub Actions workflows for multi-platform releases#15

Merged
halcycon merged 5 commits intomainfrom
copilot/prepare-release-and-packages
Nov 14, 2025
Merged

Add GitHub Actions workflows for multi-platform releases#15
halcycon merged 5 commits intomainfrom
copilot/prepare-release-and-packages

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Nov 14, 2025

Automates building and publishing RusTalk binaries for Linux x64, macOS x64/ARM64, and Windows x64.

Changes

CI Workflow (.github/workflows/ci.yml)

  • Cross-platform testing on push/PR
  • Linting and build checks
  • Explicit GITHUB_TOKEN permissions

Release Workflow (.github/workflows/release.yml)

  • Triggers on version tags (v*) or manual dispatch
  • Parallel builds for all platforms
  • Packages binary, sample config, README, and LICENSE as tar.gz/zip
  • Auto-creates GitHub releases with SHA256 checksums
  • Detects pre-releases (tags containing -rc, -beta, -alpha)

Documentation & Tooling

  • RELEASE.md: Release process and troubleshooting guide
  • scripts/bump-version.sh: Helper for version updates
  • Updated README with installation instructions for pre-built binaries

Usage

# Create a release
./scripts/bump-version.sh 0.2.0
git add Cargo.toml Cargo.lock && git commit -m "Bump version to 0.2.0"
git tag -a v0.2.0 -m "Release version 0.2.0"
git push origin main && git push origin v0.2.0

Workflow builds all platforms in ~15-30 minutes and publishes to GitHub Releases.

Original prompt

I'd like to look at publishing a release, and potentially packages. For a release to be viable, I'm guessing we need to compile it using a github runner, and produce a tar.gz of the resulting binaries. I will be guided by best practice on this, but that's the next step I think


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 4 commits November 14, 2025 14:57
Co-authored-by: halcycon <8266551+halcycon@users.noreply.github.com>
Co-authored-by: halcycon <8266551+halcycon@users.noreply.github.com>
Co-authored-by: halcycon <8266551+halcycon@users.noreply.github.com>
Co-authored-by: halcycon <8266551+halcycon@users.noreply.github.com>
Copilot AI changed the title [WIP] Prepare for release and package compilation Add GitHub Actions workflows for multi-platform releases Nov 14, 2025
Copilot AI requested a review from halcycon November 14, 2025 15:09
@halcycon halcycon marked this pull request as ready for review November 14, 2025 15:16
@halcycon halcycon merged commit ea66695 into main Nov 14, 2025
8 of 10 checks passed
@halcycon halcycon deleted the copilot/prepare-release-and-packages branch November 14, 2025 15:17
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.

2 participants