File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed
Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 11# GoodData Ruby SDK Changelog
2- ## 2.1.16
2+ ## 2.1.17
33 - BUGFIX: TMA-1704 - Enhance error message when not found clientId in source table
44 - BUGFIX: TMA-1694 [ UsersBrick] Enhance messages add more log for missing users when running remove_from_organization
55 - FEATURE: TMA-1717 - replace Erbis by standard ERB
Original file line number Diff line number Diff line change @@ -35,9 +35,12 @@ namespace :gem do
3535 gem = "gooddata-#{ GoodData ::VERSION } .gem"
3636 origin_license_file = 'LICENSE'
3737 new_license_file = 'LICENSE_FOR_RUBY_SDK_COMPONENT.txt'
38+ notices_file = 'NOTICES.txt'
3839 File . delete ( origin_license_file ) if File . exist? ( origin_license_file )
39- FileUtils . cp ( new_license_file , origin_license_file ) if File . exists? ( new_license_file )
40- puts "Copied file #{ new_license_file } to #{ origin_license_file } "
40+ File . delete ( notices_file ) if File . exist? ( notices_file )
41+ puts "Deleted files: #{ origin_license_file } and #{ notices_file } "
42+ File . rename ( new_license_file , origin_license_file ) if File . exists? ( new_license_file )
43+ puts "Renamed file #{ new_license_file } to #{ origin_license_file } "
4144 puts "Building #{ gem } ..."
4245 res = `gem build ./gooddata.gemspec`
4346 file = res . match ( 'File: (.*)' ) [ 1 ]
Original file line number Diff line number Diff line change 1- 2.1.16
1+ 2.1.17
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Gem::Specification.new do |s|
2424 s . email = 'lcm@gooddata.com'
2525 s . extra_rdoc_files = %w( LICENSE README.md )
2626
27- s . files = `git ls-files` . split ( $INPUT_RECORD_SEPARATOR)
27+ s . files = `git ls-files` . split ( $INPUT_RECORD_SEPARATOR) . map { | f | f unless %w( NOTICES.txt LICENSE_FOR_RUBY_SDK_COMPONENT.txt ) . include? ( f ) }
2828 s . files . reject! { |fn | fn . start_with? 'spec/' }
2929 s . executables = `git ls-files -- bin/*` . split ( "\n " ) . map { |f | File . basename ( f ) }
3030
You can’t perform that action at this time.
0 commit comments