Skip to content

Commit

Permalink
Merge pull request #393 from ErikJiang/fix_latest_tag
Browse files Browse the repository at this point in the history
Update get latest tag
  • Loading branch information
ErikJiang authored Dec 10, 2022
2 parents 16aa38d + b89a6af commit 6962f53
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 6962f53

Please sign in to comment.