Skip to content

Conversation

@martinemde
Copy link
Contributor

Summary

Phase 2 of release modernization: Replace custom release workflow with cargo-dist automation.

  • Simplifies ci.yml by removing manual release/upload jobs
  • Adds cargo-dist release.yml workflow for automated binary distribution
  • Updates dotslash-config.json for new artifact naming format
  • Configures dist-workspace.toml for multi-platform builds

Changes

File Purpose
.github/workflows/ci.yml Simplified CI (release logic removed)
.github/workflows/release.yml cargo-dist automated releases
.github/workflows/dotslash-config.json Updated artifact patterns
dist-workspace.toml cargo-dist configuration
Cargo.toml Release profile optimization

Test plan

  • All Rust tests pass locally
  • CI checks pass
  • Review workflow YAML for correctness

Resolves: pks-6yw
Part of: PKS Release Process Modernization convoy

- Remove custom release, upload-mac-universal-bin, and upload-linux-bin
  jobs from ci.yml (these were manually building and uploading binaries)
- Add cargo-dist generated release.yml workflow that handles building,
  signing, and uploading release artifacts automatically
- Update dotslash-config.json to match cargo-dist artifact naming:
  - Use separate Mac Intel/ARM binaries instead of universal binary
  - Update regex patterns to match pks-{arch}-{os} format
  - Change format from tar.gz to tar.xz
- Add dist-workspace.toml with cargo-dist configuration:
  - Targets: aarch64-apple-darwin, aarch64-unknown-linux-gnu,
    x86_64-apple-darwin, x86_64-unknown-linux-gnu
  - allow-dirty for custom dotslash job in release.yml
- Add [profile.dist] to Cargo.toml for optimized release builds

Resolves: pks-6yw
@github-project-automation github-project-automation bot moved this to Triage in Modularity Jan 8, 2026
@martinemde martinemde closed this Jan 9, 2026
@github-project-automation github-project-automation bot moved this from Triage to Done in Modularity Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants