Skip to content

Commit 9de991a

Browse files
committed
Allow republishing
1 parent e01b2ef commit 9de991a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sqlite3.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'sqlite3'
3-
s.version = '3.45.3'
3+
s.version = '3.45.3+1'
44
s.license = { :type => 'Public Domain', :text => <<-LICENSE
55
All of the code and documentation in SQLite has been dedicated to the public domain by the authors.
66
All code authors, and representatives of the companies they work for, have signed affidavits dedicating their contributions to the public domain and originals of those signed affidavits are stored in a firesafe at the main offices of Hwaci.
@@ -12,8 +12,8 @@ LICENSE
1212
s.homepage = 'https://github.com/clemensg/sqlite3pod'
1313
s.authors = { 'Clemens Gruber' => 'clemensgru@gmail.com' }
1414

15-
v = s.version.to_s.split('.')
16-
archive_name = "sqlite-src-"+v[0]+v[1].rjust(2, '0')+v[2].rjust(2, '0')+"00"
15+
v = s.version.to_s.match(/(\d+).(\d+).(\d+)(?:\+\w+)?/)
16+
archive_name = "sqlite-src-"+v[1]+v[2].rjust(2, '0')+v[3].rjust(2, '0')+"00"
1717
s.source = { :http => "https://www.sqlite.org/#{Time.now.year}/#{archive_name}.zip" }
1818
s.prepare_command = <<-CMD
1919
cd #{archive_name}

0 commit comments

Comments
 (0)