Skip to content

Commit f9a4eca

Browse files
feat(ci): add publish-pod job to invoke CocoaPods publish workflow (#71)
Co-authored-by: Pedro Bilro <pedro.gustavo.bilro@outsystems.com>
1 parent e2387f4 commit f9a4eca

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

packages/capacitor-plugin/CapacitorGeolocation.podspec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ Pod::Spec.new do |s|
99
s.license = package['license']
1010
s.homepage = package['repository']['url']
1111
s.author = package['author']
12-
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
13-
s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
12+
s.source = { :git => package['repository']['url'], :tag => "v#{s.version}" }
13+
s.source_files = [
14+
'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}',
15+
'packages/capacitor-plugin/ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
16+
]
1417
s.ios.deployment_target = '15.0'
1518
s.dependency 'Capacitor'
1619
s.dependency 'IONGeolocationLib', spec='2.0.0'

0 commit comments

Comments
 (0)