Skip to content

Remove deprecated Makefile dist targets after GoReleaser migration #734

@corylanou

Description

@corylanou

Overview

After PR #732 is merged and tested, we should remove the old Makefile dist targets that are replaced by GoReleaser.

Blocked by: #732 (must be merged and tested first)

Targets to Remove

From Makefile, remove these deprecated targets:

Lines to Remove

  • dist-linux target (lines 6-11)
  • dist-linux-arm target (lines 12-14)
  • dist-linux-arm64 target (lines 15-17)
  • dist-macos target (lines 18-33)
  • Related .PHONY declarations for these targets

Keep These

  • ✅ Keep docker target - still useful for Docker builds
  • ✅ Keep vfs target - specific VFS functionality
  • ✅ Keep clean target - general utility
  • ✅ Keep mcp-* targets - MCP functionality

Testing Before Removal

Before removing these targets, ensure:

  1. At least one successful release has been made with GoReleaser
  2. Binaries from GoReleaser work correctly on all platforms
  3. Homebrew formula updates are working
  4. Team is comfortable with new release process

Why Remove?

  • Eliminates confusion about which method to use
  • Reduces maintenance burden
  • Single source of truth for releases
  • Makefile becomes cleaner and focused on development tasks

Migration Guide

Old command → New command:

  • make dist-linuxgoreleaser build --snapshot --single-target
  • make dist-macosgoreleaser build --snapshot --single-target
  • LITESTREAM_VERSION=v0.3.14 make dist-macosgit tag v0.3.14 && git push --tags

Implementation

Once ready to remove:

  1. Delete the dist-* targets from Makefile
  2. Update any documentation that references these commands
  3. Update CLAUDE.md to remove references to old commands
  4. Notify team of the change

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions