diff --git a/release_version.txt b/release_version.txt index b1d7abc..a0a1517 100644 --- a/release_version.txt +++ b/release_version.txt @@ -1 +1 @@ -0.6.2 \ No newline at end of file +0.6.3 \ No newline at end of file diff --git a/scripts/set_version.sh b/scripts/set_version.sh index 2f3401b..e4012c2 100755 --- a/scripts/set_version.sh +++ b/scripts/set_version.sh @@ -29,8 +29,6 @@ ReleaseUsers=("cvttdist") ReleaseDir=("/home/cvttdist/software/cvtt2") # ----- Settings -Location="${LocalSoftwareDir}/${Project}/${Version}/${Project}" - function rsync_load_version() { for idx in "${!ReleaseHosts[@]}" do @@ -72,16 +70,14 @@ function rsync_load_version() { mkdir -p ${LocalSoftwareDir} # exists and not empty -if [[ ! -d "${Location}" ]] ; then - rsync_load_version -fi +rsync_load_version + +Location="${LocalSoftwareDir}/${Project}/${Version}/${Project}" Cmd="cd ${ProdDir}" - Cmd="${Cmd} && rm -rf ${Project}" Cmd="${Cmd} && ln -snf ${Location} ${Project}" -echo ${Cmd} -eval ${Cmd} +echo ${Cmd} && eval ${Cmd} echo "Done: $0 $*"