Skip to content

Commit 9c99218

Browse files
committed
Fix version retrieval
1 parent f249fcb commit 9c99218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rakpios-cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ do_fresh_install() {
199199
pushd ${DIR_TMP}
200200
cp -r lib/* ${DIR_LIB} #copy module files
201201
cp rakpios-cli ${DIR_BIN}/rakpios-cli #copy the rakpios-cli main script
202-
git tag --sort=committerdate | tail -1 > ${DIR_CNF}/rakpios-cli.version
202+
git tag -l --sort=v:refname | tail -1 > ${DIR_CNF}/rakpios-cli.version
203203
popd
204204
__msg_debug "Tool copy completed"
205205
echo "Download successful"

0 commit comments

Comments
 (0)