Skip to content

Commit

Permalink
Revert to old post_process logic that regens sums in place.
Browse files Browse the repository at this point in the history
Because of the renaming needed here, it's simplest to just
regenerated.
headius committed Nov 8, 2017
1 parent 2e10a4e commit 65e7b61
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions rakelib/release.rake
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

DIST_FILES_GLOB = "jruby-dist-*.{zip,gz,md5,sha1,sha256,sha512}"
DIST_FILES_GLOB = "jruby-dist-*.{zip,gz}"
DIST_FILES_DIR = File.join('maven', 'jruby-dist', 'target')
JRUBY_COMPLETE_DIR = File.join('maven', 'jruby-complete', 'target')
JRUBY_COMPLETE_GLOB = 'jruby-complete-*.{jar,md5,sha1,sha256,sha512}'
JRUBY_COMPLETE_GLOB = 'jruby-complete-*.jar'
JRUBY_JARS_DIR = File.join('maven', 'jruby-jars', 'pkg')
JRUBY_JARS_GLOB = 'jruby-jars-*.{gem,md5,sha1,sha256,sha512}'
JRUBY_JARS_GLOB = 'jruby-jars-*.gem'
JRUBY_EXE_GLOB = '*.exe'

desc "post-process mvn build to generate properly named and fingerprinted files"
@@ -22,8 +22,10 @@ task :post_process_artifacts => :windows_installer do
end

cp Dir[File.join(JRUBY_COMPLETE_DIR, JRUBY_COMPLETE_GLOB)], RELEASE_DIR
Dir[File.join(RELEASE_DIR, JRUBY_COMPLETE_GLOB)].each {|file| checksums file }

cp Dir[File.join(JRUBY_JARS_DIR, JRUBY_JARS_GLOB)], RELEASE_DIR
Dir[File.join(RELEASE_DIR, JRUBY_JARS_GLOB)].each {|file| checksums file }

Dir[File.join(RELEASE_DIR, JRUBY_EXE_GLOB)].each {|file| checksums file }
end

0 comments on commit 65e7b61

Please sign in to comment.