File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 38
38
- name : Sets env var for the next tag
39
39
run : echo "NEXT_TAG=${GRID_VERSION}-${BUILD_DATE}" >> $GITHUB_ENV
40
40
- name : Get latest tag
41
- run : echo "LATEST_TAG=$(git tag | tail -1 )" >> $GITHUB_ENV
41
+ run : echo "LATEST_TAG=$(git describe --tags --abbrev=0 )" >> $GITHUB_ENV
42
42
- name : Display latest tag
43
43
run : echo ${LATEST_TAG}
44
44
- name : Update tag in docs and files
Original file line number Diff line number Diff line change 3
3
LATEST_TAG=$1
4
4
NEXT_TAG=$2
5
5
LATEST_DATE=$( echo ${LATEST_TAG} | sed ' s/.*-//' )
6
- NEXT_DATE=$4 $ ( echo ${NEXT_TAG} | sed ' s/.*-//' )
6
+ NEXT_DATE=$( echo ${NEXT_TAG} | sed ' s/.*-//' )
7
7
8
8
echo -e " \033[0;32m Updating tag displayed in docs and files...\033[0m"
9
9
echo -e " \033[0;32m LATEST_TAG -> ${LATEST_TAG} \033[0m"
You can’t perform that action at this time.
0 commit comments