Skip to content

Commit

Permalink
Allow republishing
Browse files Browse the repository at this point in the history
  • Loading branch information
simolus3 committed Apr 21, 2024
1 parent e01b2ef commit 9de991a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sqlite3.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'sqlite3'
s.version = '3.45.3'
s.version = '3.45.3+1'
s.license = { :type => 'Public Domain', :text => <<-LICENSE
All of the code and documentation in SQLite has been dedicated to the public domain by the authors.
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.
Expand All @@ -12,8 +12,8 @@ LICENSE
s.homepage = 'https://github.com/clemensg/sqlite3pod'
s.authors = { 'Clemens Gruber' => '[email protected]' }

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

0 comments on commit 9de991a

Please sign in to comment.