Project

General

Profile

« Previous | Next » 

Revision 1f15c21b

Added by Michael Moll almost 6 years ago

Refs #20891 - fix for new rubocop rules

View differences:

lib/tasks/pkg.rake
raise "can't find VERSION from #{ref}" if version.empty?
filename = "pkg/#{name}-#{version}.tar.bz2"
`git archive --prefix=#{name}-#{version}/ #{ref} | bzip2 -9 > #{filename}`
raise 'Failed to generate the source archive' if $? != 0
raise 'Failed to generate the source archive' if $CHILD_STATUS != 0
puts filename
end
end

Also available in: Unified diff