Skip to content

Commit

Permalink
docs: 修改changelog.sh使用http链接
Browse files Browse the repository at this point in the history
  • Loading branch information
shanmiteko committed Jun 29, 2022
1 parent d53881c commit dd9ff1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/build/changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ echo "New Version: $NEW_VERSION"

GIT_LOG="$(git log --pretty=format:"* %h %s" | sed -e '/CHANGELOG/,$d' | sed ':a;N;s/\n/\\n/g;ta')"

sed -i "/# CHANGELOG/a\## 主要变化($NEW_VERSION)\n$GIT_LOG\n\n_如果之前版本小于上一版本,请查看[CHANGELOG](CHANGELOG.md)变更说明_\n" CHANGELOG.md
sed -i "/# CHANGELOG/a\## 主要变化($NEW_VERSION)\n$GIT_LOG\n\n_如果之前版本小于上一版本,请查看[CHANGELOG](https://github.com/shanmiteko/LotteryAutoScript/blob/main/CHANGELOG.md)变更说明_\n" CHANGELOG.md

git add .
git commit -m "docs: 更新CHANGELOG"

0 comments on commit dd9ff1b

Please sign in to comment.