Skip to content

Commit 180f1bb

Browse files
algolia-botFluf22
andcommitted
chore: generated code for commit 86a5b4ef. [skip ci]
algolia/api-clients-automation@86a5b4e Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Thomas Raffray <[email protected]>
1 parent 7e9aee6 commit 180f1bb

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ jobs:
3030
- name: Install CocoaPods
3131
run: gem install cocoapods
3232

33-
- name: Publish on CocoaPods
33+
- name: Publish release on Github
3434
run: |
3535
set -eo pipefail
36-
pod trunk push --allow-warnings --verbose AlgoliaSearchClient.podspec
36+
gh release create ${{ steps.versions.outputs.RELEASE_VERSION }} --title ${{ steps.versions.outputs.RELEASE_VERSION }} -F CHANGELOG.md --target ${{ github.sha }}
3737
env:
38-
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
38+
GH_TOKEN: ${{ github.token }}
3939

40-
- name: Publish release on Github
40+
- name: Publish on CocoaPods
4141
run: |
4242
set -eo pipefail
43-
gh release create ${{ steps.versions.outputs.RELEASE_VERSION }} --title ${{ steps.versions.outputs.RELEASE_VERSION }} -F CHANGELOG.md --target ${{ github.sha }}
43+
pod trunk push --allow-warnings --verbose AlgoliaSearchClient.podspec
4444
env:
45-
GH_TOKEN: ${{ github.token }}
45+
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}

Package.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ products.append(
7171
dependencies: [
7272
.target(name: "Core"),
7373
] + extraTargetDependencies,
74-
path: "Sources/\(library)"
74+
path: "Sources/\(library)",
75+
resources: [
76+
.copy("../../PrivacyInfo.xcprivacy"),
77+
]
7578
)
7679
)
7780

0 commit comments

Comments
 (0)