Skip to content

Commit 4a54d4b

Browse files
authored
Improve publish podspec task (#30)
Performs a pod repo update between trunk push to prevent errors due to an out of date specs repo.
1 parent 161b300 commit 4a54d4b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Rakefile

+9-1
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,18 @@ end
3636
namespace :publish do
3737
task :podspec do
3838
# Topologically sorted by dependencies
39-
podspecs = ['EpoxyCore', 'EpoxyCollectionView', 'EpoxyBars', 'EpoxyNavigationController', 'EpoxyPresentations', 'Epoxy']
39+
podspecs = [
40+
'EpoxyCore',
41+
'EpoxyCollectionView',
42+
'EpoxyBars',
43+
'EpoxyNavigationController',
44+
'EpoxyPresentations',
45+
'Epoxy',
46+
]
4047

4148
for podspec in podspecs
4249
sh "bundle exec pod trunk push #{podspec}.podspec --synchronous"
50+
sh "bundle exec pod repo update"
4351
end
4452
end
4553
end

0 commit comments

Comments
 (0)