use [publish binary] instead of [publish-binary] + fix OSX builds to only publish if statically linked