jacobdeichert/mask

Automate releases and produce binaries for mac and linux

jacobdeichert opened this issue ยท 6 comments

I'll need to do some research on best practices here and how other projects do this.

FYI @jakedeichert, there is an action just to upload a release asset (doesn't support multiple release assets yet). https://github.com/marketplace/actions/upload-a-release-asset

@DrSensor i missed that one! I saw a few custom implementations others have done and recreated it myself. Though with the one you linked, it looks like it depends on also creating a release automatically (upload_url: ${{ steps.create_release.outputs.upload_url }})

My plan here is to manually create a new github release which will trigger an auto publish to crates.io + upload the binaries to the release.

I'm almost done. I just need to do a macos target tomorrow ๐Ÿ‘

Bad news, macos-latest doesn't include Rust by default ๐Ÿ˜…
Maybe installing rustup manually might works ๐Ÿค”

Got macos building and attaching the binary to the release!

See the config here.

This task is now done ๐ŸŽ‰

Here's an example. Going to delete this release now and then prep a real 0.7.1 release this week after merging the currently open PR.

Screen Shot 2019-11-20 at 1 03 52 PM