Skip to content

Commit

Permalink
Update changelog.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhoublue authored Oct 28, 2024
1 parent 49fd482 commit 1db5ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/scripts/changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ cd ${PROJECT_ROOT_PATH}
#============================
echo "-------------- generate latest release version tag --------------"
LATEST_RELEASE_VERISON=$(curl --retry 10 -s https://api.github.com/repos/spidernet-io/spiderpool/releases | grep '"tag_name":' | grep -Eo "v([0-9]+\.[0-9]+\.[0-9])" | sort -r | head -n 1)
LATEST_RELEASE_VERISON=` grep -oE "[0-9]+\.[0-9]+\.[0-9]+" <<< "${LATEST_RELEASE_VERISON}" `
LATEST_RELEASE_VERISON=` grep -oE "[0-9]+\.[0-9]+\.[0-9]+" <<< "${LATEST_RELEASE_VERISON}" ` || true
if [ -z "${LATEST_RELEASE_VERISON}" ] ; then
LATEST_X=0
LATEST_Y=0
Expand Down

0 comments on commit 1db5ac8

Please sign in to comment.