From 02f224cd4cd5fd294752f1465aa2c3309e731131 Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Tue, 2 Jul 2024 00:51:10 +0800 Subject: [PATCH] hfgh --- resources/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/build.sh b/resources/build.sh index 83a25be..371894a 100755 --- a/resources/build.sh +++ b/resources/build.sh @@ -1,6 +1,8 @@ #!/bin/bash +set -eux function changelog(){ + current_tag=$(git describe --tags --abbrev=0) previous_tag=$(git describe --tags --abbrev=0 $(git rev-list --tags --skip=1 --max-count=1)) git log ${previous_tag}..${current_tag} --reverse --pretty=format:"%B" | nl -w2 -s". " > CHANGELOG.txt