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

Adds --use-path-as-archive-prefix flag for correct uploading of project subdirs #596

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

infomiho
Copy link

Fixes #595

It enables the users to provide the --use-path-as-archive-prefix flag if they want to upload a project subdir while zipped with the subdir as archive root. This maintains the old behavior for existing users that didn't provide the flag.

@brody192 let me know if I can improve the solution / code quality

@brody192
Copy link
Contributor

brody192 commented Feb 18, 2025

We have to have a much shorter flag to enable the new behavior 😆

Lets hear some other options please.

@infomiho
Copy link
Author

I think the shortest flag name I can come up with is --path-as-prefix 😄 what do you say?

@brody192
Copy link
Contributor

How about instead of having the flag describe what it does technically, have it describe what it does for the user?

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.

railway up <path> doesn't zip the project properly
2 participants