Skip to content

Conversation

@tmck-code
Copy link
Owner

Context

This PR marches along the road towards deploying this on homebrew, AUR and others.

  • binaries are now versioned like the OS packages
  • added tarballs that contain the binary, LICENSE and manpage
  • write all binaries, OS packages & tarballs to dist/, i.e.
    dist/
    ├── bin
    │   ├── pokesay-0.18.1-android-arm64
    │   ├── pokesay-0.18.1-darwin-amd64
    │   ├── pokesay-0.18.1-darwin-arm64
    │   ├── pokesay-0.18.1-linux-amd64
    │   └── pokesay-0.18.1-windows-amd64.exe
    ├── packages
    │   ├── pokesay-0.18.1-1-x86_64.pkg.tar.zst
    │   ├── pokesay-0.18.1-android-arm64.deb
    │   ├── pokesay-0.18.1-linux-amd64.deb
    │   └── pokesay-debug-0.18.1-1-x86_64.pkg.tar.zst
    └── tarballs
        └── pokesay-0.18.1-linux-amd64.tar.gz
    
  • This now requires running the build task with a VERSION:
    VERSION=0.18.1 make build/bin build/packages
    
  • These files can then all be uploaded as part of a release.
  • Then, afterward, the binaries/tarballs can be referenced in AUR and homebrew packages.

- binaries are now versioned like the OS packages
- added tarballs that contain the binary, LICENSE and manpage
- write all binaries, OS packages & tarballs to dist/, i.e.

../dist/
├── bin
│   ├── pokesay-0.18.1-android-arm64
│   ├── pokesay-0.18.1-darwin-amd64
│   ├── pokesay-0.18.1-darwin-arm64
│   ├── pokesay-0.18.1-linux-amd64
│   └── pokesay-0.18.1-windows-amd64.exe
├── packages
│   ├── pokesay-0.18.1-1-x86_64.pkg.tar.zst
│   ├── pokesay-0.18.1-android-arm64.deb
│   ├── pokesay-0.18.1-linux-amd64.deb
│   └── pokesay-debug-0.18.1-1-x86_64.pkg.tar.zst
└── tarballs
    └── pokesay-0.18.1-linux-amd64.tar.gz

This now requires running the build task with a VERSION:
VERSION=0.18.1 make build/bin build/packages

These files can then all be uploaded as part of a release.

Then, afterward, the binaries/tarballs can be referenced in AUR and
homebrew packages.
@tmck-code tmck-code added enhancement New feature or request code quality Good for dev, little/no impact to users distribution labels Oct 2, 2025
@tmck-code tmck-code merged commit 139ddc4 into master Oct 2, 2025
1 check passed
@tmck-code tmck-code deleted the dist-output branch October 2, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code quality Good for dev, little/no impact to users distribution enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants