Skip to content

Commit

Permalink
dist needs to still make tar src dist
Browse files Browse the repository at this point in the history
  • Loading branch information
enebo committed Apr 27, 2015
1 parent 5090935 commit 819a015
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions maven/jruby-dist/pom.rb
Expand Up @@ -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
Expand Down

0 comments on commit 819a015

Please sign in to comment.