~修复版本号问题

This commit is contained in:
juewuy
2026-01-24 22:11:12 +08:00
parent 26fca6b359
commit e03be1f184

View File

@@ -88,7 +88,7 @@ jobs:
git fetch --tags sekai
version=$(CGO_ENABLED=0 go run ./cmd/internal/read_tag)
[ -z "$version" ] && version=${{ inputs.tag2 }}
version=$(echo $version | sed 's/-.*$//')
version=$(echo ${version%-*})
echo version=$version >> $GITHUB_OUTPUT
if [ -z "$TAGS" ];then
if [ "$REPO" = 'SagerNet/sing-box' ];then