diff --git a/.github/workflows/create-release-pr.yml b/.github/workflows/create-release-pr.yml index 607231abe..70fd0d21b 100644 --- a/.github/workflows/create-release-pr.yml +++ b/.github/workflows/create-release-pr.yml @@ -67,4 +67,6 @@ jobs: - [ ] Update [CHANGELOG.md](https://github.com/apollographql/apollo-ios/blob/main/CHANGELOG.md) with all relevant changes since the prior version. _Please include PR numbers and mention contributors for external PR submissions._ #### Things to do as part of releasing - - [ ] Update and publish the draft release created by CI using the latest [CHANGELOG.md](https://github.com/apollographql/apollo-ios/blob/main/CHANGELOG.md) contents \ No newline at end of file + - [ ] Run the []'Publish Release' workflow](https://github.com/apollographql/apollo-ios-dev/actions/workflows/publish-release.yml) in apollo-ios-dev + - [ ] Update and publish the [draft release in apollo-ios](https://github.com/apollographql/apollo-ios/releases) created by CI using the latest [CHANGELOG.md](https://github.com/apollographql/apollo-ios/blob/main/CHANGELOG.md) contents + - [ ] Update and publish the [draft release in apollo-ios-codegen](https://github.com/apollographql/apollo-ios-codegen/releases) created by CI (copy and paste the previous release contents and update the version number and link) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 5229fff27..370a6ab8a 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -62,12 +62,19 @@ jobs: git push --tags # Create Draft Release on GitHub with tag of version - - name: Create Draft Release + - name: Create Draft Release (`apollo-ios`) shell: bash run: | gh release create ${{ env.RELEASE_VERSION }} 'apollo-ios/CLI/apollo-ios-cli.tar.gz#apollo-ios-cli.tar.gz' -d --repo "apollographql/apollo-ios" -t "${{ env.RELEASE_VERSION }}" env: GH_TOKEN: ${{ secrets.APOLLO_IOS_PAT }} + + - name: Create Draft Release (`apollo-ios-codegen`) + shell: bash + run: | + gh release create ${{ env.RELEASE_VERSION }} -d --repo "apollographql/apollo-ios-codegen" -t "${{ env.RELEASE_VERSION }}" + env: + GH_TOKEN: ${{ secrets.APOLLO_IOS_PAT }} # Trigger "Release New Version" workflow in the apollo-ios-xcframework repo - name: Dispatch apollo-ios-xcframework