Skip to content

Commit 4b52a14

Browse files
cater for version zero
1 parent cddefdb commit 4b52a14

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/capacitor/PowersyncCapacitor.podspec

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
44

55
Pod::Spec.new do |s|
66
s.name = 'PowersyncCapacitor'
7-
s.version = package['version']
7+
version = package['version']
8+
if version.include?('-dev')
9+
s.version = '0.0.0'
10+
else
11+
s.version = version
12+
end
813
s.summary = package['description']
914
s.license = package['license']
1015
s.homepage = package['repository']['url']

0 commit comments

Comments
 (0)