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(winget): replace forward slashes in Winget RelativeFilePath #4195

Merged
merged 3 commits into from
Jul 18, 2023

Conversation

tashian
Copy link
Contributor

@tashian tashian commented Jul 18, 2023

If an archive filename contains / characters, they can sneak into Winget's RelativeFilePath.
In this PR, I make sure that RelativeFilePath only uses \ directory separators.

@pull-request-size pull-request-size bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 18, 2023
@caarlos0
Copy link
Member

ahh good catch, thank you!

@caarlos0 caarlos0 enabled auto-merge (squash) July 18, 2023 18:08
@caarlos0 caarlos0 added the bug Something isn't working label Jul 18, 2023
auto-merge was automatically disabled July 18, 2023 18:20

Head branch was pushed to by a user without write access

@pull-request-size pull-request-size bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 18, 2023
@caarlos0 caarlos0 enabled auto-merge (squash) July 18, 2023 18:30
@caarlos0 caarlos0 changed the title fix: replace forward slashes in Winget RelativeFilePath fix(winget): replace forward slashes in Winget RelativeFilePath Jul 18, 2023
@caarlos0 caarlos0 disabled auto-merge July 18, 2023 18:34
@caarlos0 caarlos0 merged commit 00bc248 into goreleaser:main Jul 18, 2023
8 of 9 checks passed
@github-actions github-actions bot added this to the v1.20.0 milestone Jul 18, 2023
caarlos0 added a commit that referenced this pull request Jul 18, 2023
needs #4195

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants