-
-
Notifications
You must be signed in to change notification settings - Fork 492
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
Tilde in filename gets substituted #159
Comments
It seems to be a limitation of GitHub:
https://docs.github.com/en/rest/reference/repos#upload-a-release-asset |
I've found the same issue occurs with a colon ( |
My assests are also having parentheses substituted with periods, which I know go through fine with manual uploads. I'd be somewhat surprised if those were considered "special characters", though the "non-alphanumeric" portion of the docs do suggest that could be possible. If so its quite silly that the endpoint would have limitation that the site UI doesn't. The documentation could really be more specific, it basically just tells you to contact support. :/ |
Perhaps also spaces? Files seem to get uploaded as artefacts with spaces in the titles ( |
Yeah, I'm also surprised that my spaces get converted to dots -> destroying the file names……… |
Hi I also faced this issue where space are replaced by dot. It's break many things on our side. An update for this is possible/planned ? Thanks |
Same here with parentheses. Is this GitHub restriction? |
This was noted in a recent pull request that relaxed the handling of names with spaces #446 (comment) GitHub doesn't expressly document which characters may get replaced in its documentation but it does document some.
|
One possible work around for now is to create an a archive whose name does not contain special characters that contains the file with special characters in its names and use that archive as the release asset. that allows your users to download a and then unpack a artifact containing files with names without GitHub's restrictions. |
issue
My filename looks like
tobwen-1.1.0-1~buster_amd64.deb
.When releasing it, the filename gets renamed to
tobwen-1.1.0-1.buster_amd64.deb
.remark
The tilde
~
is allowed on URLs and all major OS and filesystems, like Linux, macOS and Windows.question
Is this a restriction of action-gh-release or ob github?
The text was updated successfully, but these errors were encountered: