Skip to content

Commit 08f5440

Browse files
committed
chore: release action fix
1 parent 9a20dbc commit 08f5440

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/config/pre_changelog_hook.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

Rakefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,13 @@ end
1111

1212
desc 'Setup example project'
1313
task :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
2421
end
2522

2623
desc 'Publish to cocoapods plugins if not present'

0 commit comments

Comments
 (0)