Commit b3f3d488 authored by Roman Haefeli's avatar Roman Haefeli
Browse files

create symlink to latest bundle for macos and windows

parent 7aa56c36
......@@ -93,5 +93,8 @@ function fail {
scp -q "${app_name}-${app_version}_macos_${package_version}.dmg" "" || fail
# clean up
rm -r "${work_dir}" "${app_name}-${app_version}_macos_${package_version}.dmg"
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
......@@ -88,5 +88,8 @@ function fail {
scp -q "${app_name}-${app_version}_windows_${package_version}.zip"
# clean up
rm -rf "${work_dir}" ""${app_name}-${app_version}_windows_${package_version}.zip""
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
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