From 5d590f455359ca1d5790a77a3de4c00e18015d60 Mon Sep 17 00:00:00 2001 From: Raffi Date: Tue, 14 Apr 2026 19:15:01 +0200 Subject: [PATCH 01/15] push to self hosted repo --- .github/workflows/bump-and-release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/bump-and-release.yml b/.github/workflows/bump-and-release.yml index 222c0440..6928d878 100644 --- a/.github/workflows/bump-and-release.yml +++ b/.github/workflows/bump-and-release.yml @@ -102,8 +102,16 @@ jobs: else connectors+=("$prefix-${{ inputs.connectors }}.podspec") fi + if [ -d "$HOME/.cocoapods/repos/cocoapods-specs" ]; then + bundle exec pod repo remove cocoapods-specs + fi + pod repo add cocoapods-specs \ + https://x-access-token:${{ secrets.PODS_SPEC_REPO_TOKEN }}@github.com/THEOplayer/cocoapods-specs-repo-staging.git for connector in ${connectors[*]} do + if [[ "${{ inputs.dryRun }}" != "true" ]]; then + pod repo push cocoapods-specs $connector --verbose --allow-warnings + fi pod repo update cmd="pod $command $connector --verbose --allow-warnings" if [ ${{ inputs.dryRun }} == false ]; then From 0fefa27a037ba64fcfa1516885a6494ad52de268 Mon Sep 17 00:00:00 2001 From: Raffi Date: Tue, 14 Apr 2026 19:37:28 +0200 Subject: [PATCH 02/15] rm bundle exec --- .github/workflows/bump-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-and-release.yml b/.github/workflows/bump-and-release.yml index 6928d878..1fd38175 100644 --- a/.github/workflows/bump-and-release.yml +++ b/.github/workflows/bump-and-release.yml @@ -103,7 +103,7 @@ jobs: connectors+=("$prefix-${{ inputs.connectors }}.podspec") fi if [ -d "$HOME/.cocoapods/repos/cocoapods-specs" ]; then - bundle exec pod repo remove cocoapods-specs + pod repo remove cocoapods-specs fi pod repo add cocoapods-specs \ https://x-access-token:${{ secrets.PODS_SPEC_REPO_TOKEN }}@github.com/THEOplayer/cocoapods-specs-repo-staging.git From 221a18536fbfa25bd1a6d93061a84ee5dbf55061 Mon Sep 17 00:00:00 2001 From: Raffi Date: Wed, 15 Apr 2026 12:27:43 +0200 Subject: [PATCH 03/15] switch to main repo --- .github/workflows/bump-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-and-release.yml b/.github/workflows/bump-and-release.yml index 1fd38175..c6012193 100644 --- a/.github/workflows/bump-and-release.yml +++ b/.github/workflows/bump-and-release.yml @@ -106,7 +106,7 @@ jobs: pod repo remove cocoapods-specs fi pod repo add cocoapods-specs \ - https://x-access-token:${{ secrets.PODS_SPEC_REPO_TOKEN }}@github.com/THEOplayer/cocoapods-specs-repo-staging.git + https://x-access-token:${{ secrets.PODS_SPEC_REPO_TOKEN }}@github.com/THEOplayer/cocoapods-specs.git for connector in ${connectors[*]} do if [[ "${{ inputs.dryRun }}" != "true" ]]; then From 438281d1bd64ca34ab1cd56d1780823cc9e8c12d Mon Sep 17 00:00:00 2001 From: Raffi Date: Wed, 15 Apr 2026 12:32:17 +0200 Subject: [PATCH 04/15] add changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5278c263..8f522364 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed - Dropped support for iOS/tvOS 13 & 14. +- The connectors will now be additionally published to a THEOplayer hosted Cocoapods spec repo at https://github.com/THEOplayer/cocoapods-specs. We will continue publishing to the main trunk until EOL. ## [10.14.0] - 2026-04-09 From a26006481a78fa23698bcad7f1cade5110c87e90 Mon Sep 17 00:00:00 2001 From: Raffi Date: Wed, 15 Apr 2026 18:01:41 +0200 Subject: [PATCH 05/15] update changelog --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f522364..674413ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,10 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [11.0.0] - 2026-04-16 +### Added + +- The connectors will now be additionally published to a THEOplayer hosted Cocoapods spec repo at https://github.com/THEOplayer/cocoapods-specs. We will continue publishing to the main trunk until EOL. + ### Removed - Dropped support for iOS/tvOS 13 & 14. -- The connectors will now be additionally published to a THEOplayer hosted Cocoapods spec repo at https://github.com/THEOplayer/cocoapods-specs. We will continue publishing to the main trunk until EOL. ## [10.14.0] - 2026-04-09 From 38dbce2af9ee4b59ab98ca6d13f239e35b608cc2 Mon Sep 17 00:00:00 2001 From: Raffi Date: Thu, 16 Apr 2026 16:19:10 +0200 Subject: [PATCH 06/15] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 674413ba..fd41b6b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- The connectors will now be additionally published to a THEOplayer hosted Cocoapods spec repo at https://github.com/THEOplayer/cocoapods-specs. We will continue publishing to the main trunk until EOL. +- The connectors will now be additionally published to a [THEOplayer hosted Cocoapods spec repo](https://github.com/THEOplayer/cocoapods-specs). We will continue publishing to the main trunk until EOL. For more info, please check [the SDK changelog](https://optiview.dolby.com/docs/theoplayer/changelog/#-features-1.). ### Removed From 225de6290db494e70ab4dfeb4eb93b99ce77ea16 Mon Sep 17 00:00:00 2001 From: Raffi Date: Thu, 16 Apr 2026 16:29:34 +0200 Subject: [PATCH 07/15] parameterize release destination opt in/out --- .github/workflows/bump-and-release.yml | 50 +++++++++++++++++--------- 1 file changed, 33 insertions(+), 17 deletions(-) diff --git a/.github/workflows/bump-and-release.yml b/.github/workflows/bump-and-release.yml index c6012193..4a7ce56b 100644 --- a/.github/workflows/bump-and-release.yml +++ b/.github/workflows/bump-and-release.yml @@ -12,6 +12,16 @@ on: required: true default: true type: boolean + cocoapodsTrunk: + description: 'If true, releases on Cocoapods trunk public spec repo.' + required: true + default: true + type: boolean + selfHosted: + description: 'If true, releases on self hosted spec repo.' + required: true + default: true + type: boolean connectors: description: 'Choose the Connector(s)' required: true @@ -102,27 +112,33 @@ jobs: else connectors+=("$prefix-${{ inputs.connectors }}.podspec") fi - if [ -d "$HOME/.cocoapods/repos/cocoapods-specs" ]; then - pod repo remove cocoapods-specs + if [[ "${{ inputs.selfHosted }}" == "true" ]]; then + if [ -d "$HOME/.cocoapods/repos/cocoapods-specs" ]; then + pod repo remove cocoapods-specs + fi + pod repo add cocoapods-specs \ + https://x-access-token:${{ secrets.PODS_SPEC_REPO_TOKEN }}@github.com/THEOplayer/cocoapods-specs.git fi - pod repo add cocoapods-specs \ - https://x-access-token:${{ secrets.PODS_SPEC_REPO_TOKEN }}@github.com/THEOplayer/cocoapods-specs.git for connector in ${connectors[*]} do - if [[ "${{ inputs.dryRun }}" != "true" ]]; then - pod repo push cocoapods-specs $connector --verbose --allow-warnings - fi - pod repo update - cmd="pod $command $connector --verbose --allow-warnings" - if [ ${{ inputs.dryRun }} == false ]; then - cmd="$cmd --synchronous" - else - branch=$(git rev-parse --abbrev-ref HEAD) - sed -i '' "s|:tag => [^,}]*|:branch => \"$branch\"|g" "$connector" + if [[ "${{ inputs.selfHosted }}" == "true" ]]; then + if [[ "${{ inputs.dryRun }}" != "true" ]]; then + pod repo push cocoapods-specs $connector --verbose --allow-warnings + fi fi - $cmd - if [ ${{ inputs.dryRun }} == true ]; then - git checkout "$connector" + if [[ "${{ inputs.cocoapodsTrunk }}" == "true" ]]; then + pod repo update + cmd="pod $command $connector --verbose --allow-warnings" + if [ ${{ inputs.dryRun }} == false ]; then + cmd="$cmd --synchronous" + else + branch=$(git rev-parse --abbrev-ref HEAD) + sed -i '' "s|:tag => [^,}]*|:branch => \"$branch\"|g" "$connector" + fi + $cmd + if [ ${{ inputs.dryRun }} == true ]; then + git checkout "$connector" + fi fi done Cleanup: From 6ca0142bb8a064b1f1832be6796ee53f7e6b74b7 Mon Sep 17 00:00:00 2001 From: Raffi Date: Thu, 16 Apr 2026 16:33:12 +0200 Subject: [PATCH 08/15] log when skipped --- .github/workflows/bump-and-release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/bump-and-release.yml b/.github/workflows/bump-and-release.yml index 4a7ce56b..4f325790 100644 --- a/.github/workflows/bump-and-release.yml +++ b/.github/workflows/bump-and-release.yml @@ -124,6 +124,8 @@ jobs: if [[ "${{ inputs.selfHosted }}" == "true" ]]; then if [[ "${{ inputs.dryRun }}" != "true" ]]; then pod repo push cocoapods-specs $connector --verbose --allow-warnings + else + echo "dryRun -> skip selfHosted release" fi fi if [[ "${{ inputs.cocoapodsTrunk }}" == "true" ]]; then From 3d0e519e32eb4466ff7ae784a150369b23f55a7a Mon Sep 17 00:00:00 2001 From: Raffi Date: Thu, 16 Apr 2026 16:54:11 +0200 Subject: [PATCH 09/15] skip clone if dryRun --- .github/workflows/bump-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-and-release.yml b/.github/workflows/bump-and-release.yml index 4f325790..c367fa4b 100644 --- a/.github/workflows/bump-and-release.yml +++ b/.github/workflows/bump-and-release.yml @@ -112,7 +112,7 @@ jobs: else connectors+=("$prefix-${{ inputs.connectors }}.podspec") fi - if [[ "${{ inputs.selfHosted }}" == "true" ]]; then + if [[ "${{ inputs.selfHosted }}" == "true" && "${{ inputs.dryRun }}" != "true" ]]; then if [ -d "$HOME/.cocoapods/repos/cocoapods-specs" ]; then pod repo remove cocoapods-specs fi From d2456fae58ac1d3f6ed7c1b629b32c7acc5adae1 Mon Sep 17 00:00:00 2001 From: Raffi Date: Thu, 16 Apr 2026 17:01:13 +0200 Subject: [PATCH 10/15] add destination in run name --- .github/workflows/bump-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-and-release.yml b/.github/workflows/bump-and-release.yml index c367fa4b..eca65851 100644 --- a/.github/workflows/bump-and-release.yml +++ b/.github/workflows/bump-and-release.yml @@ -1,5 +1,5 @@ name: Bump and release -run-name: ${{ (inputs.version == '' && 'Not bumping version') || format('Bumping version to {0}', inputs.version) }} and ${{ (inputs.dryRun == true && 'validating') || 'releasing' }} ${{ inputs.connectors }} +run-name: ${{ (inputs.version == '' && 'Not bumping version') || format('Bumping version to {0}', inputs.version) }} and ${{ (inputs.dryRun == true && 'validating') || 'releasing' }} ${{ inputs.connectors }} on ${{ (inputs.cocoapodsTrunk == true && inputs.selfHosted == true && 'self hosted and cocoapods trunk spec repos') || (inputs.cocoapodsTrunk == "true" && 'cocoapods trunk spec repo') || (inputs.selfHosted == "true" && 'self hosted spec repo') || 'none' }} on: workflow_dispatch: inputs: From a08e15d7dc77260d61002767ba99c270b591cf2c Mon Sep 17 00:00:00 2001 From: Raffi Date: Thu, 16 Apr 2026 17:02:28 +0200 Subject: [PATCH 11/15] adjust syntax --- .github/workflows/bump-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-and-release.yml b/.github/workflows/bump-and-release.yml index eca65851..bf5ef893 100644 --- a/.github/workflows/bump-and-release.yml +++ b/.github/workflows/bump-and-release.yml @@ -1,5 +1,5 @@ name: Bump and release -run-name: ${{ (inputs.version == '' && 'Not bumping version') || format('Bumping version to {0}', inputs.version) }} and ${{ (inputs.dryRun == true && 'validating') || 'releasing' }} ${{ inputs.connectors }} on ${{ (inputs.cocoapodsTrunk == true && inputs.selfHosted == true && 'self hosted and cocoapods trunk spec repos') || (inputs.cocoapodsTrunk == "true" && 'cocoapods trunk spec repo') || (inputs.selfHosted == "true" && 'self hosted spec repo') || 'none' }} +run-name: ${{ (inputs.version == '' && 'Not bumping version') || format('Bumping version to {0}', inputs.version) }} and ${{ (inputs.dryRun == true && 'validating') || 'releasing' }} ${{ inputs.connectors }} on ${{ (inputs.cocoapodsTrunk == true && inputs.selfHosted == true && 'self hosted and cocoapods trunk spec repos') || (inputs.cocoapodsTrunk == true && 'cocoapods trunk spec repo') || (inputs.selfHosted == true && 'self hosted spec repo') || 'none' }} on: workflow_dispatch: inputs: From 6ed0508f43d8d52c9dce6e3372869b187307121f Mon Sep 17 00:00:00 2001 From: Raffi Date: Thu, 16 Apr 2026 17:12:40 +0200 Subject: [PATCH 12/15] simplify run name --- .github/workflows/bump-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-and-release.yml b/.github/workflows/bump-and-release.yml index bf5ef893..e84bd769 100644 --- a/.github/workflows/bump-and-release.yml +++ b/.github/workflows/bump-and-release.yml @@ -1,5 +1,5 @@ name: Bump and release -run-name: ${{ (inputs.version == '' && 'Not bumping version') || format('Bumping version to {0}', inputs.version) }} and ${{ (inputs.dryRun == true && 'validating') || 'releasing' }} ${{ inputs.connectors }} on ${{ (inputs.cocoapodsTrunk == true && inputs.selfHosted == true && 'self hosted and cocoapods trunk spec repos') || (inputs.cocoapodsTrunk == true && 'cocoapods trunk spec repo') || (inputs.selfHosted == true && 'self hosted spec repo') || 'none' }} +run-name: ${{ (inputs.version == '' && 'Not bumping version') || format('Bumping version to {0}', inputs.version) }} and ${{ (inputs.dryRun == true && 'validating') || 'releasing' }} ${{ inputs.connectors }} on ${{ 'self hosted spec repo:' (inputs.cocoapodsTrunk == true && ✅) || ❌ }}, on ${{ 'cocoapods trunk:' (inputs.selfHosted == true && ✅) || ❌ }} on: workflow_dispatch: inputs: From aaaa23fee49adc6eed8d7e7e04b32faf7349b002 Mon Sep 17 00:00:00 2001 From: Raffi Date: Thu, 16 Apr 2026 17:13:40 +0200 Subject: [PATCH 13/15] adjust syntax --- .github/workflows/bump-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-and-release.yml b/.github/workflows/bump-and-release.yml index e84bd769..febf06b4 100644 --- a/.github/workflows/bump-and-release.yml +++ b/.github/workflows/bump-and-release.yml @@ -1,5 +1,5 @@ name: Bump and release -run-name: ${{ (inputs.version == '' && 'Not bumping version') || format('Bumping version to {0}', inputs.version) }} and ${{ (inputs.dryRun == true && 'validating') || 'releasing' }} ${{ inputs.connectors }} on ${{ 'self hosted spec repo:' (inputs.cocoapodsTrunk == true && ✅) || ❌ }}, on ${{ 'cocoapods trunk:' (inputs.selfHosted == true && ✅) || ❌ }} +run-name: ${{ (inputs.version == '' && 'Not bumping version') || format('Bumping version to {0}', inputs.version) }} and ${{ (inputs.dryRun == true && 'validating') || 'releasing' }} ${{ inputs.connectors }} on ${{ 'self hosted spec repo:' (inputs.cocoapodsTrunk == true && '✅') || '❌' }}, on ${{ 'cocoapods trunk:' (inputs.selfHosted == true && '✅') || '❌' }} on: workflow_dispatch: inputs: From bcb66e3db9943c2355407f9129ad5f361648980d Mon Sep 17 00:00:00 2001 From: Raffi Date: Thu, 16 Apr 2026 17:15:56 +0200 Subject: [PATCH 14/15] adjust run name --- .github/workflows/bump-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-and-release.yml b/.github/workflows/bump-and-release.yml index febf06b4..17aa67e8 100644 --- a/.github/workflows/bump-and-release.yml +++ b/.github/workflows/bump-and-release.yml @@ -1,5 +1,5 @@ name: Bump and release -run-name: ${{ (inputs.version == '' && 'Not bumping version') || format('Bumping version to {0}', inputs.version) }} and ${{ (inputs.dryRun == true && 'validating') || 'releasing' }} ${{ inputs.connectors }} on ${{ 'self hosted spec repo:' (inputs.cocoapodsTrunk == true && '✅') || '❌' }}, on ${{ 'cocoapods trunk:' (inputs.selfHosted == true && '✅') || '❌' }} +run-name: ${{ (inputs.version == '' && 'Not bumping version') || format('Bumping version to {0}', inputs.version) }} and ${{ (inputs.dryRun == true && 'validating') || 'releasing' }} ${{ inputs.connectors }} on cocoapods trunk ${{ (inputs.cocoapodsTrunk == true && '✅') || '❌' }}, on self hosted spec repo ${{ (inputs.selfHosted == true && '✅') || '❌' }} on: workflow_dispatch: inputs: From a2c1cbdfa0cc2304002d1be9b667af06db375416 Mon Sep 17 00:00:00 2001 From: therama <72598781+therama@users.noreply.github.com> Date: Fri, 17 Apr 2026 10:48:02 +0200 Subject: [PATCH 15/15] Apply suggestion from @MattiasBuelens Co-authored-by: Mattias Buelens <649348+MattiasBuelens@users.noreply.github.com> --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd41b6b3..da205bc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- The connectors will now be additionally published to a [THEOplayer hosted Cocoapods spec repo](https://github.com/THEOplayer/cocoapods-specs). We will continue publishing to the main trunk until EOL. For more info, please check [the SDK changelog](https://optiview.dolby.com/docs/theoplayer/changelog/#-features-1.). +- The connectors will now be additionally published to a [THEOplayer hosted Cocoapods spec repo](https://github.com/THEOplayer/cocoapods-specs). We will continue publishing to the main trunk until EOL. For more info, please check [the SDK changelog](https://optiview.dolby.com/docs/theoplayer/changelog/#-1100-20260416). ### Removed