Răsfoiți Sursa

fix[script]: Optimize changelog.sh

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I5029f2f57bfffc1b8331665b7dcf8a10523b457e
Herman Chen 1 an în urmă
părinte
comite
7c721dca78
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      tools/changelog.sh

+ 2 - 0
tools/changelog.sh

@@ -218,5 +218,7 @@ echo -e "${prev_changelog}" >> ${changelog_file}
 # add CHANGELOG.md
 git add ${changelog_file}
 git commit --amend -C ${curr_ver}
+# update tag message
+git tag -f ${version_tag} -m "${version_tag} version at ${tag_date}"
 
 IFS=$OLDIFS