progress: build script

This commit is contained in:
Oleg Sheynin 2024-08-08 18:17:00 -04:00
parent 0766a07b79
commit a9b8f510b3
2 changed files with 5 additions and 3 deletions

View File

@ -1 +1 @@
1.3.7
1.3.8,build release script updated

View File

@ -127,7 +127,8 @@ if [ "${?}" != "0" ]; then
fi
release_version=$(cat release_version.txt)
release_version=$(cat release_version.txt | awk -F',' '{print $1}')
whats_new=$(cat release_version.txt | awk -F',' '{print $2}')
echo "--------------------------------"
@ -136,7 +137,7 @@ echo "Release version: ${release_version}"
confirm
version_tag="v${release_version}"
version_comment="${version_tag}_${project}_${branch}_$(date +%Y%m%d)"
version_comment="'${version_tag} ${project} ${branch} $(date +%Y-%m-%d)\n${whats_new}'"
cmd_arr=()
Cmd="git tag -a ${version_tag} -m ${version_comment}"
@ -178,4 +179,5 @@ do
pwd && echo ${cmd} && eval ${cmd}
done
echo "PROJECT ${project} **** P U L L N E W T A G S F R O M o r i g i n ****"
echo "$0 Done ${project} ${release_version}"