File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 6
6
- ' v[0-9]+.[0-9]+.[0-9]+'
7
7
- ' v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+'
8
8
- ' v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+'
9
+ - ' v[0-9]+.[0-9]+.[0-9]+-test.[0-9]+'
9
10
workflow_dispatch :
10
11
11
12
jobs :
29
30
dist_tag=$([[ $tag =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] && echo latest || echo "")
30
31
dist_tag=$([[ $tag =~ ^[0-9]+\.[0-9]+\.[0-9]+-rc\.[0-9]+$ ]] && echo rc || echo $dist_tag)
31
32
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
33
35
echo ::set-output name=DIST_TAG::$dist_tag
34
36
shell : bash
35
37
publish :
You can’t perform that action at this time.
0 commit comments