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(cpa): ensures .env & .env.example file modifications occur before git initialization #10312

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

PatrikKozak
Copy link
Contributor

@PatrikKozak PatrikKozak commented Jan 2, 2025

What?

Previously, .env & .env.example modifications during cpa occurred after a project was initialized.

Why?

As a result, these modifications would be seen as uncommitted modifications in the project repo.

How?

Now, we make these modifications in the createProject script before the project is initialized.

Also, updates the template .env.example files to use the generic db name your-database-name for better alignment & clarity.

Fixes #10232

@PatrikKozak PatrikKozak requested a review from denolfe as a code owner January 2, 2025 20:14
@denolfe denolfe changed the title fix(cpa, templates): ensures .env & .env.example file modifications occur before git initialization fix(cpa): ensures .env & .env.example file modifications occur before git initialization Jan 3, 2025
@denolfe denolfe merged commit 3847718 into main Jan 3, 2025
77 checks passed
@denolfe denolfe deleted the fix/cpa-uncommitted-modifications branch January 3, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.env.example shows as modified on new blank cpa
2 participants