Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: fetch latest release tag #2911

Merged
merged 2 commits into from
Sep 30, 2024
Merged

update: fetch latest release tag #2911

merged 2 commits into from
Sep 30, 2024

Conversation

bobbyu99
Copy link
Contributor

@bobbyu99 bobbyu99 commented Sep 26, 2024

Description of changes

Verify against backend't latest release instead of latest main.

CDK / CloudFormation Parameters Changed

Issue #, if available

Description of how you validated changes

Checklist

  • PR description included
  • yarn test passes
  • E2E test run linked
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)
  • New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
  • Any CDK or CloudFormation parameter changes are called out explicitly

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bobbyu99 bobbyu99 marked this pull request as ready for review September 26, 2024 18:04
@bobbyu99 bobbyu99 requested a review from a team as a code owner September 26, 2024 18:04
@bobbyu99 bobbyu99 enabled auto-merge (squash) September 26, 2024 18:23
echo "Fetching the latest release tag from GitHub"
LATEST_RELEASE_JSON=$(curl -s https://api.github.com/repos/aws-amplify/amplify-backend/releases/latest)
# Extract the tag name
LATEST_RELEASE_TAG=$(echo "${LATEST_RELEASE_JSON}" | jq -r '.tag_name')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we guaranteed to have jq installed in the CodeBuild image?

@bobbyu99 bobbyu99 merged commit 5e376d5 into main Sep 30, 2024
7 checks passed
@bobbyu99 bobbyu99 deleted the verify-backend branch September 30, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants