Skip to content

Commit f44c2ab

Browse files
authored
Trim leading periods from artifacts (#713)
Kosli cli rejects artifact names that begin with a . so have to trim them
1 parent 90ce466 commit f44c2ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
if ($item.type == "Archive") then
159159
. + [{ template_name: ($item.goos + "-" + $item.goarch), path: $item.path }]
160160
elif ($item.type == "Linux Package") then
161-
. + [{ template_name: ($item.extra.Ext + "-pkg-" + $item.goarch), path: $item.path }]
161+
. + [{ template_name: (($item.extra.Ext | ltrimstr(".")) + "-pkg-" + $item.goarch), path: $item.path }]
162162
else
163163
.
164164
end

0 commit comments

Comments
 (0)