From de879cda327c485b05a8ce978df84e95e8e1aeee Mon Sep 17 00:00:00 2001 From: Dave Snabel-Caunt Date: Fri, 9 Aug 2024 14:43:17 +0100 Subject: [PATCH] Update iOS versioning for UID2Prebid podspec --- .github/workflows/shared-publish-to-ios-version.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/shared-publish-to-ios-version.yaml b/.github/workflows/shared-publish-to-ios-version.yaml index 3ff8d0dd..c70f0143 100644 --- a/.github/workflows/shared-publish-to-ios-version.yaml +++ b/.github/workflows/shared-publish-to-ios-version.yaml @@ -64,6 +64,7 @@ jobs: formatted_new_version=$(echo "$new_version" | sed 's/\([[:digit:]]\)\.\([[:digit:]]\)\.\([[:digit:]]\)/\1, \2, \3/') sed -i '' -e "s/$formatted_current_version/$formatted_new_version/g" ${{ inputs.working_dir }}/Sources/UID2/Properties/UID2SDKProperties.swift sed -i '' -e "s/$current_version/$new_version/g" ${{ inputs.working_dir }}/UID2.podspec.json + sed -i '' -e "s/$current_version/$new_version/g" ${{ inputs.working_dir }}/UID2Prebid.podspec.json echo "Version number updated from $current_version to $new_version" - name: Select Xcode 15.3 @@ -75,10 +76,10 @@ jobs: xcodebuild -scheme UID2 -sdk iphonesimulator17.4 -destination "OS=17.4,name=iPhone 15" xcodebuild test -scheme UID2 -sdk iphonesimulator17.4 -destination "OS=17.4,name=iPhone 15" - - name: Commit SDK properties, podspec, version.json and set tag + - name: Commit SDK properties, podspecs, version.json and set tag uses: IABTechLab/uid2-shared-actions/actions/commit_pr_and_merge@v2 with: - add: '${{ inputs.working_dir }}/Sources/UID2/Properties/UID2SDKProperties.swift ${{ inputs.working_dir }}/UID2.podspec.json ${{ inputs.working_dir }}/version.json' + add: '${{ inputs.working_dir }}/Sources/UID2/Properties/UID2SDKProperties.swift ${{ inputs.working_dir }}/UID2.podspec.json ${{ inputs.working_dir }}/UID2Prebid.podspec.json ${{ inputs.working_dir }}/version.json' message: 'Released ${{ inputs.release_type }} version: ${{ steps.version.outputs.new_version }}' tag: v${{ steps.version.outputs.new_version }}