Skip to content

Commit

Permalink
Fix not able to get latest tag
Browse files Browse the repository at this point in the history
Signed-off-by: Yilun <zyl.skysniper@gmail.com>
  • Loading branch information
yilunzhang committed Dec 22, 2018
1 parent b392f18 commit 59f30e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ci/node_join.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ cd $NKN_HOME

### Obtain latest src code and build binary
git fetch
LATEST_TAG=$(git for-each-ref --sort=-taggerdate --count=1 --format "%(refname:short)" refs/tags)
LATEST_TAG=$(git tag --sort=-creatordate | head -1)
git checkout ${LATEST_TAG}
make
cp -a nkn[cd] ./${BIN_DIR}/
Expand Down

0 comments on commit 59f30e1

Please sign in to comment.