kontena / pharos-cluster

Pharos - The Kubernetes Distribution
https://k8spharos.dev/
Apache License 2.0
311 stars 43 forks source link

Source packages won't build #620

Closed kke closed 5 years ago

kke commented 5 years ago

The pharos-cluster.gemspec adds files dynamically through git ls-files.

This does not work when you download the source packages provided by github on the releases page. (fatal: not a git repository (or any of the parent directories): .git). It also adds files that may not be relevant to the resulting .gem.

A fix would be to list the files like:

spec.files = Dir[*%w(lib/**/* README.md LICENSE bin/pharos-cluster)]
kke commented 5 years ago

Solved by #697