Skip to content

Commit

Permalink
fix sdk version release
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi committed Mar 28, 2024
1 parent 9acd72b commit eef8b39
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/git-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ fi
# if we're not on a tag in Circle but the current commit is tagged, then
# should then ignore the tag
tag="$(git describe --exact-match --tags HEAD 2> /dev/null || :)"
if [[ -n "$tag" ]]; then
exclude_param="--exclude $tag"
fi
git describe --tags --always --first-parent $exclude_param
version="$(git describe --tags --always --first-parent)"

result="$(echo "$version" | sed 's/^fdr@//;s/^ui@//')"

echo "$result"

0 comments on commit eef8b39

Please sign in to comment.