From 24261d8375c4b9c6c62571d16580d5c346e8f0d6 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Fri, 22 Mar 2024 17:29:29 +0530 Subject: [PATCH 1/2] fix: workflow issue fix --- .github/workflows/release-package.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index b430ae9..270cf1d 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -26,18 +26,6 @@ jobs: # Add commands to build and test your package xcodebuild -workspace Contentstack.xcworkspace -scheme 'Contentstack' -destination 'platform=iOS Simulator,name=iPhone 13 Pro' - - name: Tag release - id: tag - run: | - git tag v3.12.2 # Replace with your desired version number - echo "::set-output name=tag::v3.12.2" # Replace with the same version number as above - - - name: Push tag - uses: ad-m/github-push-action@v0.6.0 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - tag: ${{ steps.tag.outputs.tag }} - - name: CocoaPods trunk push run: pod trunk push env: From ee816fa20d5b1b56a615af8bdf3fc30288eb8f87 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Fri, 22 Mar 2024 17:30:42 +0530 Subject: [PATCH 2/2] fix: updated workflow --- .github/workflows/release-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 270cf1d..5b606dd 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -27,6 +27,6 @@ jobs: xcodebuild -workspace Contentstack.xcworkspace -scheme 'Contentstack' -destination 'platform=iOS Simulator,name=iPhone 13 Pro' - name: CocoaPods trunk push - run: pod trunk push + run: pod trunk push --allow-warnings env: COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} \ No newline at end of file