Skip to content

Commit

Permalink
Update the release script
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertAudi committed Jun 2, 2019
1 parent 4c91ede commit 1a7a88e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions tools/release.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,15 @@ function {
fi

{
command mkdir -p \
command mkdir -v -p -m 700 \
"${__tsm_dist_dir}" \
"${__tsm_dist_bin_dir}" \
"${__tsm_dist_functions_dir}"

command rm -f \
"${__tsm_dist_bin_dir}/${__tsm_script_filename}" \
"${__tsm_dist_functions_dir}/${__tsm_completion_filename}"

command cp "${__tsm_build_dir}/${__tsm_script_filename}" "${__tsm_dist_bin_dir}/${__tsm_script_filename}"
command cp -f "${__tsm_build_dir}/${__tsm_script_filename}" "${__tsm_dist_bin_dir}/${__tsm_script_filename}"

if [[ -f "${__tsm_share_dir}/${__tsm_completion_filename}" ]]; then
command cp "${__tsm_share_dir}/${__tsm_completion_filename}" "${__tsm_dist_functions_dir}/${__tsm_completion_filename}"
command cp -f "${__tsm_share_dir}/${__tsm_completion_filename}" "${__tsm_dist_functions_dir}/${__tsm_completion_filename}"
fi

} &>/dev/null
Expand Down

0 comments on commit 1a7a88e

Please sign in to comment.