From 4cc62cef1910eca0568b815ecccad23fa5811764 Mon Sep 17 00:00:00 2001 From: Vinayak Date: Thu, 3 Aug 2023 02:27:49 -0700 Subject: [PATCH] Automating the sift ios releases. --- .github/workflows/ios_cocopod_release.yml | 22 ++++++++++++++++++++++ .gitignore | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ios_cocopod_release.yml diff --git a/.github/workflows/ios_cocopod_release.yml b/.github/workflows/ios_cocopod_release.yml new file mode 100644 index 0000000..6614a89 --- /dev/null +++ b/.github/workflows/ios_cocopod_release.yml @@ -0,0 +1,22 @@ +name: Release CocoaPod to CocoaPods.org + +on: + release: + types: [published] + +env: + GH_TOKEN: ${{ github.token }} + COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} + + +jobs: + release: + name: Perform the Release + runs-on: macos-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Publish to CocoaPods + run: pod trunk push Sift.podspec diff --git a/.gitignore b/.gitignore index 5df86ae..23e0a1b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ .DS_Store xcuserdata - +**/.idea # Carthage # # Add this line if you want to avoid checking in source code from Carthage dependencies.