File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ exports.preVersionGeneration = (version) => {
2323 fs . writeFileSync ( gem_info_file , new_gem_info ) ;
2424
2525 const launchOption = { cwd : GITHUB_WORKSPACE } ;
26+ childProcess . execSync ( 'bundle config unset deployment' , launchOption ) ;
2627 childProcess . execSync ( 'bundle exec rake demo' , launchOption ) ;
28+ childProcess . execSync ( 'bundle config deployment true' , launchOption ) ;
2729 return version ;
2830}
2931
Original file line number Diff line number Diff line change 1111
1212desc 'Setup example project'
1313task :demo do
14- deployment = Bundler . settings [ 'DEPLOYMENT' ] || false
15- Bundler . settings . set_local ( 'DEPLOYMENT' , false ) if deployment
1614 system ( 'bundle install' , exception : true )
1715 Bundler . with_unbundled_env do
1816 Dir . chdir ( 'example/ios_app' ) do |path |
1917 system ( 'bundle install' , exception : true )
2018 system ( 'bundle exec pod install' , exception : true )
2119 end
2220 end
23- Bundler . settings . set_local ( 'DEPLOYMENT' , deployment ) if deployment
2421end
2522
2623desc 'Publish to cocoapods plugins if not present'
You can’t perform that action at this time.
0 commit comments