File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 66 - ' v[0-9]+.[0-9]+.[0-9]+'
77 - ' v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+'
88 - ' v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+'
9+ - ' v[0-9]+.[0-9]+.[0-9]+-test.[0-9]+'
910 workflow_dispatch :
1011
1112jobs :
2930 dist_tag=$([[ $tag =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] && echo latest || echo "")
3031 dist_tag=$([[ $tag =~ ^[0-9]+\.[0-9]+\.[0-9]+-rc\.[0-9]+$ ]] && echo rc || echo $dist_tag)
3132 dist_tag=$([[ $tag =~ ^[0-9]+\.[0-9]+\.[0-9]+-beta\.[0-9]+$ ]] && echo beta || echo $dist_tag)
32- [ -z "$dist_tag" ] && echo "Distribution tag is not set to latest nor to rc or beta" && exit 1
33+ dist_tag=$([[ $tag =~ ^[0-9]+\.[0-9]+\.[0-9]+-test\.[0-9]+$ ]] && echo test || echo $dist_tag)
34+ [ -z "$dist_tag" ] && echo "Distribution tag is not set to latest nor to rc or beta or test" && exit 1
3335 echo ::set-output name=DIST_TAG::$dist_tag
3436 shell : bash
3537 publish :
You can’t perform that action at this time.
0 commit comments