Skip to content

Commit

Permalink
Merge pull request #336 from Lumerin-protocol/fix/resetratingconfig
Browse files Browse the repository at this point in the history
pull VLAST from main regardless of working branch
  • Loading branch information
abs2023 authored Dec 4, 2024
2 parents 8863816 + be231e1 commit 5dfb8c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/gen_tag_name/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ runs:
VMIN=0
VPAT=0
set +o pipefail
VLAST=$(git describe --tags --abbrev=0 --match='v[1-9]*' 2>/dev/null | cut -c2-)
# VLAST=$(git describe --tags --abbrev=0 --match='v[1-9]*' 2>/dev/null | cut -c2-)
VLAST=$(git fetch origin main --tags && git describe --tags --abbrev=0 --match='v[1-9]*' origin/main | cut -c2-)
[ $VLAST ] && declare $(echo $VLAST | awk -F '.' '{print "VMAJ="$1" VMIN="$2" VPAT="$3}')
if [ "$GITHUB_REF_NAME" = "main" ]
then
Expand Down

0 comments on commit 5dfb8c1

Please sign in to comment.