progress: build script
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user