mirror of
https://github.com/softprops/action-gh-release
synced 2026-10-02 17:51:31 +00:00
feat: add support for release assets with multiple spaces within the name (#518)
* extracted the asset name alignment to utils, added unit tests * fixed formatting issues
This commit is contained in:
1 parent
b019a5bbb6
commit
98daca21d1
3 files changed
+23
-2
No files matched your search
@@ -105,3 +105,7 @@ export const unmatchedPatterns = (patterns: string[]): string[] => {
|
||||
export const isTag = (ref: string): boolean => {
|
||||
return ref.startsWith("refs/tags/");
|
||||
};
|
||||
|
||||
export const alignAssetName = (assetName: string): string => {
|
||||
return assetName.replace(/ /g, ".");
|
||||
};
|
||||
Reference in new issue
Block a user