Skip to content

Fix archive-source command #3876

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

Merged
merged 1 commit into from
Nov 19, 2021
Merged

Fix archive-source command #3876

merged 1 commit into from
Nov 19, 2021

Conversation

yim-lee
Copy link
Contributor

@yim-lee yim-lee commented Nov 19, 2021

Motivation:
Source archives created using the archive-source command doesn't
include top-level directory.

Modification:
The trailing slash / in the --prefix argument to git archive,
which is the underlying command for archive-source, is required to
create top level directory. Without it the prefix is simply added to all the files and
dirs in the archive.

Motivation:
Source archives created using the `archive-source` command doesn't
include top-level directory.

Modification:
The trailing slash `/` in the `--prefix` argument to `git archive`,
which is the underlying command for `archive-source`, is required to
create top level directory. Without it the prefixed to all the files and
dirs in the archive.
@yim-lee
Copy link
Contributor Author

yim-lee commented Nov 19, 2021

@swift-ci please smoke test

@yim-lee yim-lee requested a review from mattt November 19, 2021 06:40
@tomerd tomerd merged commit edb88ed into swiftlang:main Nov 19, 2021
@yim-lee yim-lee deleted the archive-source branch November 19, 2021 17:38
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.

2 participants