From 42d6ad38ad60f334ba2009c6e3b167b0d1474920 Mon Sep 17 00:00:00 2001 From: Stefan Mitterrutzner Date: Fri, 17 Jul 2020 10:10:34 +0200 Subject: [PATCH 1/4] bump version --- DP3TSDK.podspec | 2 +- README.md | 2 +- Sources/DP3TSDK/DP3TTracing.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DP3TSDK.podspec b/DP3TSDK.podspec index 87efcfc2..eae0b390 100644 --- a/DP3TSDK.podspec +++ b/DP3TSDK.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |spec| spec.name = "DP3TSDK" - spec.version = "1.0.2" + spec.version = "1.1.0" spec.summary = "Open protocol for COVID-19 proximity tracing using Bluetooth Low Energy on mobile devices" spec.description = <<-DESC diff --git a/README.md b/README.md index cb3a1b5f..c071870c 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ DP3T-SDK is available through [Cocoapods](https://cocoapods.org/) ```ruby - pod 'DP3TSDK', => '1.0.2' + pod 'DP3TSDK', => '1.1.0' ``` diff --git a/Sources/DP3TSDK/DP3TTracing.swift b/Sources/DP3TSDK/DP3TTracing.swift index e78ddb3d..7574d44a 100644 --- a/Sources/DP3TSDK/DP3TTracing.swift +++ b/Sources/DP3TSDK/DP3TTracing.swift @@ -28,7 +28,7 @@ private var instance: DP3TSDK! /// DP3TTracing public enum DP3TTracing { /// The current version of the SDK - public static let frameworkVersion: String = "1.0.2" + public static let frameworkVersion: String = "1.1.0" /// sets global parameter values which are used throughout the sdk public static var parameters: DP3TParameters { From b228ea3208ec0352b5d5b7864c6229785286af21 Mon Sep 17 00:00:00 2001 From: Stefan Mitterrutzner Date: Fri, 17 Jul 2020 10:10:41 +0200 Subject: [PATCH 2/4] updates changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1eb17ad8..7441e0cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog for DP3T-SDK iOS +## Version 1.1.0 (17.07.2020) +- adds background refresh task to improve background time +- retrieves keys in background on iOS > 13.6 +- expose data if HTTP Code is not expected +- handle case if EN Framework is not available (iOS 14 beta) + ## Version 1.0.2 (03.07.2020) - defers sync until ENManager is fully initialized - fixes in background task handling From a3fc1e2f22bdd8ae34c09633c1a2f708d2ad0ea0 Mon Sep 17 00:00:00 2001 From: Stefan Mitterrutzner Date: Fri, 17 Jul 2020 10:25:05 +0200 Subject: [PATCH 3/4] adds github action to publish to cocoapods --- .github/workflows/deploy_to_cocoapods.yml | 29 +++++++++++++++++++++++ DP3TSDK.podspec | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/deploy_to_cocoapods.yml diff --git a/.github/workflows/deploy_to_cocoapods.yml b/.github/workflows/deploy_to_cocoapods.yml new file mode 100644 index 00000000..c8edb636 --- /dev/null +++ b/.github/workflows/deploy_to_cocoapods.yml @@ -0,0 +1,29 @@ +name: deploy_to_cocoapods + +on: + push: + tags: + - '*' + +jobs: + build: + + runs-on: macOS-latest + + steps: + - uses: actions/checkout@v1 + + - name: Switch to Xcode 11.5 + run: sudo xcode-select --switch /Applications/Xcode_11.5.app + + - name: Install Cocoapods + run: gem install cocoapods + + - name: Deploy to Cocoapods + run: | + set -eo pipefail + export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`) + pod lib lint --allow-warnings + pod trunk push DP3TSDK.podspec --allow-warnings + env: + COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} \ No newline at end of file diff --git a/DP3TSDK.podspec b/DP3TSDK.podspec index eae0b390..dc9b15d3 100644 --- a/DP3TSDK.podspec +++ b/DP3TSDK.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |spec| spec.name = "DP3TSDK" - spec.version = "1.1.0" + spec.version = ENV['LIB_VERSION'] || '1.1.0' spec.summary = "Open protocol for COVID-19 proximity tracing using Bluetooth Low Energy on mobile devices" spec.description = <<-DESC From 825d0bb0ca742d93604379dd656dfe90ab7499b3 Mon Sep 17 00:00:00 2001 From: Stefan Mitterrutzner Date: Fri, 17 Jul 2020 10:49:11 +0200 Subject: [PATCH 4/4] updates changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7441e0cc..34136b27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ - retrieves keys in background on iOS > 13.6 - expose data if HTTP Code is not expected - handle case if EN Framework is not available (iOS 14 beta) +- defer schedule background task until EN is authorized +- retrys activation and enabling of ENManager if failed on willEnterForeground ## Version 1.0.2 (03.07.2020) - defers sync until ENManager is fully initialized