fix:调整sky下的ci为master_sky进行生成tag时增加前缀
This commit is contained in:
parent
d3080bba7d
commit
10a67ddf93
@ -15,7 +15,9 @@ if [ "$tags_length" -lt 1 ]; then
|
||||
next_tag="v1.0.0"
|
||||
else
|
||||
newest_tag=$(echo "$tags" | head -n 1)
|
||||
IFS='.' read -r major minor patch <<< "$newest_tag"
|
||||
# 去除已有的sky_前缀,防止重复
|
||||
base_tag=${newest_tag#sky_}
|
||||
IFS='.' read -r major minor patch <<< "$base_tag"
|
||||
major="${major#v}"
|
||||
compare_json=""
|
||||
if [[ "$1" == "generate_tag" ]];then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user