Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions maven/jruby-dist/pom.rb
Original file line number Diff line number Diff line change
@@ -114,8 +114,7 @@
basefile = "#{ctx.project.build.directory}/#{ctx.project.artifactId}-#{ctx.project.version}-src"

FileUtils.cd( File.join( ctx.project.basedir.to_s, '..', '..' ) ) do
#[ 'tar', 'zip' ].each do |format|
[ 'zip' ].each do |format|
[ 'tar', 'zip' ].each do |format|
puts "create #{basefile}.#{format}"
system( "git archive --prefix 'jruby-#{ctx.project.version}/' --format #{format} #{revision} . -o #{basefile}.#{format}" ) || raise( "error creating #{format}-file" )
end

0 comments on commit 819a015

Please sign in to comment.