File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 32
32
run : |
33
33
git checkout master
34
34
git fetch --tags --force origin
35
- echo "DEBUG describe tags"
36
- git describe --tags --abbrev=0
37
- echo "DEBUG git tag -l"
38
- git tag -l
39
35
LATEST_TAG=$(git describe --tags --abbrev=0)
40
36
41
- if [ $(git tag -l "$LATEST_TAG-ycharts") ]; then
37
+ if [ $(git tag -l "$LATEST_TAG-ycharts") ] || [[ $LATEST_TAG == *"-ycharts" ]] ; then
42
38
echo "tag_exists=true" >> $GITHUB_OUTPUT
43
39
else
44
40
echo "tag_exists=false" >> $GITHUB_OUTPUT
55
51
- name : Check for new release tag - 1.2.x
56
52
id : tag-check-1_2_x
57
53
run : |
58
- git reset --hard origin/ xmlsec-1_2_x
54
+ git checkout xmlsec-1_2_x
59
55
git fetch --tags --force origin
60
56
LATEST_TAG=$(git describe --tags --abbrev=0)
61
57
64
60
else
65
61
echo "tag_exists=false" >> $GITHUB_OUTPUT
66
62
echo "latest_tag=$LATEST_TAG" >> $GITHUB_OUTPUT
63
+ echo $LATEST TAG
67
64
fi
68
65
69
66
- name : Apply ycharts patch and create tag
You can’t perform that action at this time.
0 commit comments