Skip to content

Commit

Permalink
Update publish-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BobaFetters authored Jun 25, 2024
1 parent 58df941 commit db50f1d
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,24 @@ jobs:
releaseVersion=$(sh apollo-ios/scripts/get-version.sh)
echo "RELEASE_VERSION=$releaseVersion" >> ${GITHUB_ENV}
# Tag Dev, ios, and codegen repos
- name: Tag Commits
shell: bash
run: |
git tag ${{ env.RELEASE_VERSION }}
git push --tags
cd checkout/apollo-ios
git tag ${{ env.RELEASE_VERSION }}
git push --tags
cd ../apollo-ios-codegen
git tag ${{ env.RELEASE_VERSION }}
git push --tags
# # Tag Dev, ios, and codegen repos
# - name: Tag Commits
# shell: bash
# run: |
# git tag ${{ env.RELEASE_VERSION }}
# git push --tags
# cd checkout/apollo-ios
# git tag ${{ env.RELEASE_VERSION }}
# git push --tags
# cd ../apollo-ios-codegen
# git tag ${{ env.RELEASE_VERSION }}
# git push --tags

# Create Draft Release on GitHub with tag of version
- name: Create Draft Release
shell: bash
run: |
gh create release ${{ env.RELEASE_VERSION }} '/apollo-ios/CLI/apollo-ios-cli.tar.gz#apollo-ios-cli.tar.gz' -d --repo "apollographql/apollo-ios"
gh release create ${{ env.RELEASE_VERSION }} '/apollo-ios/CLI/apollo-ios-cli.tar.gz#apollo-ios-cli.tar.gz' -d --repo "apollographql/apollo-ios"
# Trigger "Release New Version" workflow in the apollo-ios-xcframework repo
- name: Dispatch apollo-ios-xcframework
Expand All @@ -85,4 +85,4 @@ jobs:
set -eo pipefail
cd apollo-ios
pod trunk push Apollo.podspec
pod trunk push ApolloTestSupport.podspec
pod trunk push ApolloTestSupport.podspec

0 comments on commit db50f1d

Please sign in to comment.