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

fix: amplify app version regex #13050

Merged
merged 7 commits into from
Aug 2, 2023
Merged

Conversation

sobolk
Copy link
Member

@sobolk sobolk commented Aug 2, 2023

Description of changes

Fix amplify app regex to capture <major>.<minor>.<fix> prefix correctly.

Previous version was incorrectly processing tag/rc versions.
image

Issue #, if available

Description of how you validated changes

CB:

https://us-east-1.console.aws.amazon.com/codesuite/codebuild/671107461633/projects/AmplifyCLI-E2E-Testing/batch/AmplifyCLI-E2E-Testing%3Af6bdb9ac-5a93-4898-86d1-a01f1907a4b5?region=us-east-1

image

CCI:
https://app.circleci.com/pipelines/github/aws-amplify/amplify-cli?branch=run-e2e%2Fsobkamil%2Ffix-modelgen-test

Checklist

  • PR description included
  • yarn test passes
  • 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
  • Pull request labels are added

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

@sobolk sobolk requested review from a team as code owners August 2, 2023 19:47
@@ -1469,7 +1469,9 @@ commands:
source $BASH_ENV
- run:
name: Confirm Amplify CLI is installed and available in PATH
command: amplify version
command: |
which amplify
Copy link
Member Author

Choose a reason for hiding this comment

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

Added this to confirm that amplify resolves right path. I find it useful for troubleshooting, hence leaving it.

awsluja
awsluja previously approved these changes Aug 2, 2023
Copy link
Contributor

@awsluja awsluja left a comment

Choose a reason for hiding this comment

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

looks good; if with a good e2e run

edwardfoyle
edwardfoyle previously approved these changes Aug 2, 2023
packages/amplify-app/src/index.js Outdated Show resolved Hide resolved
@sobolk sobolk dismissed stale reviews from edwardfoyle and awsluja via 9d4fed1 August 2, 2023 21:06
@sobolk sobolk merged commit f185a72 into aws-amplify:dev Aug 2, 2023
@sobolk sobolk deleted the fix-modelgen-test branch August 2, 2023 23:47
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