File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 23
23
- name : Get tag
24
24
id : tag
25
25
run : |
26
- if [[ ${GITHUB_REF} == / refs/tags* ]]; then
26
+ if [[ ${GITHUB_REF} == refs/tags/ * ]]; then
27
27
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
28
28
else
29
29
echo ::set-output name=tag::${GITHUB_SHA::7}
50
50
- name : Get tag
51
51
id : tag
52
52
run : |
53
- if [[ ${GITHUB_REF} == / refs/tags* ]]; then
53
+ if [[ ${GITHUB_REF} == refs/tags/ * ]]; then
54
54
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
55
55
else
56
56
echo ::set-output name=tag::${GITHUB_SHA::7}
@@ -107,7 +107,7 @@ jobs:
107
107
id : tag
108
108
shell : bash
109
109
run : |
110
- if [[ ${GITHUB_REF} == / refs/tags* ]]; then
110
+ if [[ ${GITHUB_REF} == refs/tags/ * ]]; then
111
111
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
112
112
else
113
113
echo ::set-output name=tag::${GITHUB_SHA::7}
You can’t perform that action at this time.
0 commit comments