Skip to content

Commit

Permalink
Showing 5 changed files with 15 additions and 7 deletions.
4 changes: 3 additions & 1 deletion core/pom.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
version = File.read( File.join( basedir, '..', 'VERSION' ) ).strip
version = ENV['JRUBY_VERSION'] ||
File.read( File.join( basedir, '..', 'VERSION' ) ).strip

project 'JRuby Core' do

model_version '4.0.0'
5 changes: 3 additions & 2 deletions lib/pom.rb
Original file line number Diff line number Diff line change
@@ -25,8 +25,9 @@ def initialize( name, version, default_spec = true )
]

project 'JRuby Lib Setup' do

version = File.read( File.join( basedir, '..', 'VERSION' ) ).strip

version = ENV['JRUBY_VERSION'] ||
File.read( File.join( basedir, '..', 'VERSION' ) ).strip

model_version '4.0.0'
id 'jruby-stdlib'
5 changes: 3 additions & 2 deletions maven/pom.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
project 'JRuby Artifacts' do

version = File.read( File.join( basedir, '..', 'VERSION' ) ).strip

version = ENV['JRUBY_VERSION'] ||
File.read( File.join( basedir, '..', 'VERSION' ) ).strip

model_version '4.0.0'
id 'jruby-artifacts'
4 changes: 3 additions & 1 deletion pom.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
version = File.read( File.join( basedir, 'VERSION' ) ).strip
version = ENV['JRUBY_VERSION'] ||
File.read( File.join( basedir, 'VERSION' ) ).strip

project 'JRuby', 'https://github.com/jruby/jruby' do

model_version '4.0.0'
4 changes: 3 additions & 1 deletion truffle/pom.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
version = File.read( File.join( basedir, '..', 'VERSION' ) ).strip
version = ENV['JRUBY_VERSION'] ||
File.read( File.join( basedir, '..', 'VERSION' ) ).strip

project 'JRuby Truffle' do

model_version '4.0.0'

2 comments on commit 2d27311

@chrisseaton
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mkristian hope this is ok - we sometimes want to build JRuby having it identify as a different version.

Sorry, something went wrong.

@mkristian
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks ok to me. is it enough to change the version on the truffle module ? if not, just do the same thing where ever this is needed.

Sorry, something went wrong.

Please sign in to comment.