Skip to content

Commit f1a942a

Browse files
committed
Fix to add default filename as well
1 parent d563e25 commit f1a942a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/virtualmin.dev+slib.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ jobs:
7474
7575
# Prepare build
7676
slib_full_name="slib-$pkg_version.sh"
77-
mv slib.sh "$slib_full_name"
77+
cp -p slib.sh "$slib_full_name"
7878
79-
# Upload and sign
80-
upload_list=("$slib_full_name")
79+
# Delete previous versions and upload new files
80+
upload_list=("slib.sh" "$slib_full_name")
8181
delete_list=("$CLOUD_UPLOAD_SSH_DIR slib * *sh")
8282
cloud_upload upload_list delete_list

0 commit comments

Comments
 (0)