Skip to content

Commit

Permalink
Update get latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikJiang committed Dec 10, 2022
1 parent 16aa38d commit b89a6af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/os-packages/check_rebuild_pkgs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ OS_NAME=${OS_NAME:-""}
ORG_NAME=${ORG_NAME:-""}

# Get Latest Git Tag
late_tag=`git tag --sort=committerdate -l | grep -o 'v.*' | sort -r | head -1`
late_tag=`git tag --sort=committerdate -l | grep -o 'v.*' | tail -1`
# Get Previous Git Tag (the one before the latest tag)
prev_tag=`git describe --abbrev=0 --tags $(git rev-list --tags --skip=1 --max-count=1)`

Expand Down

0 comments on commit b89a6af

Please sign in to comment.