-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ffc3b6f
commit 2dc5805
Showing
16 changed files
with
117 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ You are ready to release a new version of the Swift toolkit? Great, follow these | |
4. Issue the new release. | ||
1. Create a branch with the same name as the future tag, from `develop`. | ||
2. Bump the version numbers in the `Support/CocoaPods/*.podspec` files. | ||
* :warning: Don't forget to use `:tag` in the `Podspec` files instead of `:branch`, [for example](https://github.com/readium/swift-toolkit/pull/353/commits/a0714589b3da928dd923ba78f379116715797333#diff-b726fa4aff3ea878dedf3e0f78607c09975ef5412966dc1b547d9b5e9e4b0d9cL9). | ||
* :warning: Don't forget to use `:tag => s.version` in the `Podspec` files instead of `:branch`. | ||
3. Bump the version numbers in `README.md`. | ||
4. Bump the version numbers in `TestApp/Sources/Info.plist`. | ||
5. Close the version in the `CHANGELOG.md`, [for example](https://github.com/readium/swift-toolkit/pull/353/commits/a0714589b3da928dd923ba78f379116715797333#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed). | ||
|
@@ -31,11 +31,25 @@ You are ready to release a new version of the Swift toolkit? Great, follow these | |
git tag -a 3.0.1 -m 3.0.1 | ||
git push --tags | ||
``` | ||
9. Release the updated Podspecs: | ||
```shell | ||
cd Support/CocoaPods | ||
pod repo add readium [email protected]:readium/podspecs.git | ||
pod repo push readium ReadiumInternal.podspec | ||
pod repo push readium ReadiumShared.podspec | ||
pod repo push readium ReadiumStreamer.podspec | ||
pod repo push readium ReadiumNavigator.podspec | ||
pod repo push readium ReadiumOPDS.podspec | ||
pod repo push readium ReadiumLCP.podspec | ||
pod repo push readium ReadiumAdapterGCDWebServer.podspec | ||
pod repo push readium ReadiumAdapterLCPSQLite.podspec | ||
``` | ||
5. Verify you can fetch the new version from the latest Test App with `make spm|carthage|cocoapods version=3.0.1` | ||
7. Announce the release. | ||
1. Create a new release on GitHub. | ||
2. Publish a new TestFlight beta with LCP enabled. | ||
* Click on "External Groups" > "Public Beta", then add the new build so that it's available to everyone. | ||
8. Merge `develop` into `main`. | ||
9. :warning: Revert to `:branch => "develop"` in the `Podspec` files in `develop`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
Pod::Spec.new do |s| | ||
|
||
s.name = "ReadiumAdapterGCDWebServer" | ||
s.version = "3.0.0-beta.1" | ||
s.version = "3.0.0-beta.2" | ||
s.license = "BSD 3-Clause License" | ||
s.summary = "Adapter to use GCDWebServer as an HTTP server in Readium" | ||
s.homepage = "http://readium.github.io" | ||
s.author = { "Readium" => "[email protected]" } | ||
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :branch => "develop" } | ||
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => s.version } | ||
s.requires_arc = true | ||
s.source_files = "Sources/Adapters/GCDWebServer/**/*.{m,h,swift}" | ||
s.swift_version = '5.10' | ||
s.platform = :ios | ||
s.ios.deployment_target = "13.4" | ||
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' } | ||
|
||
s.dependency 'ReadiumShared' | ||
s.dependency 'ReadiumInternal' | ||
s.dependency 'ReadiumShared', '~> 3.0.0-beta.2' | ||
s.dependency 'ReadiumInternal', '~> 3.0.0-beta.2' | ||
s.dependency 'ReadiumGCDWebServer', '~> 4.0.0' | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
Pod::Spec.new do |s| | ||
|
||
s.name = "ReadiumAdapterLCPSQLite" | ||
s.version = "3.0.0-beta.1" | ||
s.version = "3.0.0-beta.2" | ||
s.license = "BSD 3-Clause License" | ||
s.summary = "Adapter to use SQLite.swift for the Readium LCP repositories" | ||
s.homepage = "http://readium.github.io" | ||
s.author = { "Readium" => "[email protected]" } | ||
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :branch => "develop" } | ||
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => s.version } | ||
s.requires_arc = true | ||
s.source_files = "Sources/Adapters/LCPSQLite/**/*.{m,h,swift}" | ||
s.swift_version = '5.10' | ||
s.platform = :ios | ||
s.ios.deployment_target = "13.4" | ||
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' } | ||
|
||
s.dependency 'ReadiumLCP' | ||
s.dependency 'ReadiumShared' | ||
s.dependency 'ReadiumLCP', '~> 3.0.0-beta.2' | ||
s.dependency 'ReadiumShared', '~> 3.0.0-beta.2' | ||
s.dependency 'SQLite.swift', '~> 0.15.0' | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
Pod::Spec.new do |s| | ||
|
||
s.name = "ReadiumInternal" | ||
s.version = "3.0.0-beta.1" | ||
s.version = "3.0.0-beta.2" | ||
s.license = "BSD 3-Clause License" | ||
s.summary = "Private utilities used by the Readium modules" | ||
s.homepage = "http://readium.github.io" | ||
s.author = { "Readium" => "[email protected]" } | ||
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :branch => "develop" } | ||
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => s.version } | ||
s.requires_arc = true | ||
s.source_files = "Sources/Internal/**/*.{m,h,swift}" | ||
s.swift_version = '5.10' | ||
s.platform = :ios | ||
s.ios.deployment_target = "13.4" | ||
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
Pod::Spec.new do |s| | ||
|
||
s.name = "ReadiumLCP" | ||
s.version = "3.0.0-beta.1" | ||
s.version = "3.0.0-beta.2" | ||
s.license = "BSD 3-Clause License" | ||
s.summary = "Readium LCP" | ||
s.homepage = "http://readium.github.io" | ||
s.author = { "Readium" => "[email protected]" } | ||
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :branch => "develop" } | ||
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => s.version } | ||
s.requires_arc = true | ||
s.resource_bundles = { | ||
'ReadiumLCP' => [ | ||
|
@@ -15,12 +15,13 @@ Pod::Spec.new do |s| | |
], | ||
} | ||
s.source_files = "Sources/LCP/**/*.{m,h,swift}" | ||
s.swift_version = '5.10' | ||
s.platform = :ios | ||
s.ios.deployment_target = "13.4" | ||
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2'} | ||
|
||
s.dependency 'ReadiumShared' | ||
s.dependency 'ReadiumInternal' | ||
s.dependency 'ReadiumShared' , '~> 3.0.0-beta.2' | ||
s.dependency 'ReadiumInternal', '~> 3.0.0-beta.2' | ||
s.dependency 'ReadiumZIPFoundation', '~> 1.0.0' | ||
s.dependency 'CryptoSwift', '~> 1.8.0' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
Pod::Spec.new do |s| | ||
|
||
s.name = "ReadiumNavigator" | ||
s.version = "3.0.0-beta.1" | ||
s.version = "3.0.0-beta.2" | ||
s.license = "BSD 3-Clause License" | ||
s.summary = "Readium Navigator" | ||
s.homepage = "http://readium.github.io" | ||
s.author = { "Readium" => "[email protected]" } | ||
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :branch => "develop" } | ||
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => s.version } | ||
s.requires_arc = true | ||
s.resource_bundles = { | ||
'ReadiumNavigator' => [ | ||
|
@@ -15,11 +15,12 @@ Pod::Spec.new do |s| | |
], | ||
} | ||
s.source_files = "Sources/Navigator/**/*.{m,h,swift}" | ||
s.swift_version = '5.10' | ||
s.platform = :ios | ||
s.ios.deployment_target = "13.4" | ||
|
||
s.dependency 'ReadiumShared' | ||
s.dependency 'ReadiumInternal' | ||
s.dependency 'ReadiumShared', '~> 3.0.0-beta.2' | ||
s.dependency 'ReadiumInternal', '~> 3.0.0-beta.2' | ||
s.dependency 'DifferenceKit', '~> 1.0' | ||
s.dependency 'SwiftSoup', '~> 2.7.0' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,21 @@ | ||
Pod::Spec.new do |s| | ||
|
||
s.name = "ReadiumOPDS" | ||
s.version = "3.0.0-beta.1" | ||
s.version = "3.0.0-beta.2" | ||
s.license = "BSD 3-Clause License" | ||
s.summary = "Readium OPDS" | ||
s.homepage = "http://readium.github.io" | ||
s.author = { "Readium" => "[email protected]" } | ||
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :branch => "develop" } | ||
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => s.version } | ||
s.requires_arc = true | ||
s.resource_bundles = { | ||
'ReadiumOPDS' => ['Sources/OPDS/Resources/**'], | ||
} | ||
s.source_files = "Sources/OPDS/**/*.{m,h,swift}" | ||
s.swift_version = '5.10' | ||
s.platform = :ios | ||
s.ios.deployment_target = "13.4" | ||
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' } | ||
|
||
s.dependency 'ReadiumShared' | ||
s.dependency 'ReadiumInternal' | ||
s.dependency 'ReadiumShared', '~> 3.0.0-beta.2' | ||
s.dependency 'ReadiumInternal', '~> 3.0.0-beta.2' | ||
s.dependency 'ReadiumFuzi', '~> 4.0.0' | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
Pod::Spec.new do |s| | ||
|
||
s.name = "ReadiumShared" | ||
s.version = "3.0.0-beta.1" | ||
s.version = "3.0.0-beta.2" | ||
s.license = "BSD 3-Clause License" | ||
s.summary = "Readium Shared" | ||
s.homepage = "http://readium.github.io" | ||
s.author = { "Readium" => "[email protected]" } | ||
s.source = { :git => 'https://github.com/readium/swift-toolkit.git', :branch => "develop" } | ||
s.source = { :git => 'https://github.com/readium/swift-toolkit.git', :tag => s.version } | ||
s.requires_arc = true | ||
s.source_files = "Sources/Shared/**/*.{m,h,swift}" | ||
s.swift_version = '5.10' | ||
s.platform = :ios | ||
s.ios.deployment_target = "13.4" | ||
s.frameworks = "CoreServices" | ||
|
@@ -18,6 +19,6 @@ Pod::Spec.new do |s| | |
s.dependency 'SwiftSoup', '~> 2.7.0' | ||
s.dependency 'ReadiumFuzi', '~> 4.0.0' | ||
s.dependency 'ReadiumZIPFoundation', '~> 1.0.0' | ||
s.dependency 'ReadiumInternal' | ||
s.dependency 'ReadiumInternal', '~> 3.0.0-beta.2' | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
Pod::Spec.new do |s| | ||
|
||
s.name = "ReadiumStreamer" | ||
s.version = "3.0.0-beta.1" | ||
s.version = "3.0.0-beta.2" | ||
s.license = "BSD 3-Clause License" | ||
s.summary = "Readium Streamer" | ||
s.homepage = "http://readium.github.io" | ||
s.author = { "Readium" => "[email protected]" } | ||
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :branch => "develop" } | ||
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => s.version } | ||
s.requires_arc = true | ||
s.resource_bundles = { | ||
'ReadiumStreamer' => [ | ||
|
@@ -15,14 +15,15 @@ Pod::Spec.new do |s| | |
], | ||
} | ||
s.source_files = "Sources/Streamer/**/*.{m,h,swift}" | ||
s.swift_version = '5.10' | ||
s.platform = :ios | ||
s.ios.deployment_target = "13.0" | ||
s.ios.deployment_target = "13.4" | ||
s.libraries = 'z', 'xml2' | ||
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' } | ||
|
||
s.dependency 'ReadiumFuzi', '~> 4.0.0' | ||
s.dependency 'ReadiumShared' | ||
s.dependency 'ReadiumInternal' | ||
s.dependency 'ReadiumShared', '~> 3.0.0-beta.2' | ||
s.dependency 'ReadiumInternal', '~> 3.0.0-beta.2' | ||
s.dependency 'CryptoSwift', '~> 1.8.0' | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.