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) => {
23
23
fs . writeFileSync ( gem_info_file , new_gem_info ) ;
24
24
25
25
const launchOption = { cwd : GITHUB_WORKSPACE } ;
26
+ childProcess . execSync ( 'bundle config unset deployment' , launchOption ) ;
26
27
childProcess . execSync ( 'bundle exec rake demo' , launchOption ) ;
28
+ childProcess . execSync ( 'bundle config deployment true' , launchOption ) ;
27
29
return version ;
28
30
}
29
31
Original file line number Diff line number Diff line change 11
11
12
12
desc 'Setup example project'
13
13
task :demo do
14
- deployment = Bundler . settings [ 'DEPLOYMENT' ] || false
15
- Bundler . settings . set_local ( 'DEPLOYMENT' , false ) if deployment
16
14
system ( 'bundle install' , exception : true )
17
15
Bundler . with_unbundled_env do
18
16
Dir . chdir ( 'example/ios_app' ) do |path |
19
17
system ( 'bundle install' , exception : true )
20
18
system ( 'bundle exec pod install' , exception : true )
21
19
end
22
20
end
23
- Bundler . settings . set_local ( 'DEPLOYMENT' , deployment ) if deployment
24
21
end
25
22
26
23
desc 'Publish to cocoapods plugins if not present'
You can’t perform that action at this time.
0 commit comments