Commit 508ec401 authored by Roman Haefeli's avatar Roman Haefeli
Browse files

force-create link to overwrite existing link

parent b3f3d488
......@@ -96,5 +96,5 @@ function fail {
rm -r "${work_dir}" "${app_name}-${app_version}_macos_${package_version}.dmg" || fail
# create short cut
ssh ln -s "${app_name}-${app_version}_macos_${package_version}.dmg" "public_html/software/${app_name}-${app_version}_macos.dmg" || fail
ssh ln -f -s "${app_name}-${app_version}_macos_${package_version}.dmg" "public_html/software/${app_name}-${app_version}_macos.dmg" || fail
......@@ -91,5 +91,5 @@ function fail {
rm -rf "${work_dir}" "${app_name}-${app_version}_windows_${package_version}.zip"
# create shortcut to latest
ssh ln -s "${app_name}-${app_version}_windows_${package_version}.zip" "public_html/software/${app_name}-${app_version}" || fail
ssh ln -f -s "${app_name}-${app_version}_windows_${package_version}.zip" "public_html/software/${app_name}-${app_version}" || fail
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment