Build and publish files for gem.