Skip to content

Commit

Permalink
Fix file selection for Ruby gem build [ci skip]
Browse files Browse the repository at this point in the history
As since commit 697e0b1 git doesn't track binaries, we need to find them in a different way, without git
  • Loading branch information
Envek committed May 14, 2021
1 parent 31a27f1 commit e0d4765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .rubygems/lefthook.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
spec.files = %w(
lib/lefthook.rb
bin/lefthook
) + `git ls-files -z libexec/`.split("\x0")
) + `find libexec/ -executable -type f -print0`.split("\x0")

spec.licenses = ['MIT']
end

0 comments on commit e0d4765

Please sign in to comment.