Skip to content

Commit aaaf9d2

Browse files
committed
build: get last tag name for api doc default page
1 parent fec1785 commit aaaf9d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/api.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fi
99

1010
base=$(pwd)
1111
sami=${base}/scripts/sami
12-
default="1.2"
12+
default=$(git describe --abbrev=0 --tags)
1313
rev=$(git rev-parse --short HEAD)
1414

1515
cd ${sami}

0 commit comments

Comments
 (0)