The tags created by the new TagBot (as GitHub actions) cannot be reached from the commits they point at. E.g. git describe
does not show those tags (it does show those created by the older TagBot app, though).
I found this problem while trying to get the latest tag of RecurrenceAnalysis
within Julia, with LibGit2
:
LibGit2.GitTag(repo, "v1.2.0")
ERROR: GitError(Code:ERROR, Class:Object, Expected object of type LibGit2.GitTag, received object of type LibGit2.GitCommit)
Stacktrace:
[1] LibGit2.GitTag(::GitRepo, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/LibGit2/src/repository.jl:147
[2] top-level scope at none:0
(Same with v1.1.1, also released with the GitHub action, but not with older tags. I observed the same in other repos.)