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" "all@netpd.org:public_html/software/" || 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 all@netpd.org 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" all@netpd.org:public_html/software/
# 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 all@netpd.org ln -s "${app_name}-${app_version}_windows_${package_version}.zip" "public_html/software/${app_name}-${app_version}_windows.zip" || fail
)
Markdown is supported
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