We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2992ce commit b7456cdCopy full SHA for b7456cd
artifacts/scripts/util.sh
@@ -888,7 +888,7 @@ gomod-pseudo-version() {
888
commit_ts="$(TZ=UTC git show -s --date='format-local:%Y%m%d%H%M%S' --format=%cd HEAD)"
889
890
local commit_tag
891
- commit_tag="$(git describe --tags --exact-match --abbrev=0 2>/dev/null || true)"
+ commit_tag="$(git tag --points-at HEAD 2>/dev/null | grep 'origin\/v' | sed 's|^origin/||' || true)"
892
893
# latest commit has a tag -> tag
894
if [[ -n "${commit_tag}" ]]; then
0 commit comments