Closed lukehsiao closed 1 year ago
Hello @oknozor,
Is it possible to create a new tag for this version? The current latest tag (i.e. v3.5
) doesn't include this change. I had trouble because of that.
For now I succeed to retrieve the right version with the following:
uses: cocogitto/cocogitto-action@1f7463bd27d1c999663b1d247791cb43c758c29a # non-published version
Thanks a lot!
Describe the bug A clear and concise description of what the bug is.
For a repository which only uses lightweight tags, not annotated tags, this action will show something similar to
The cause of this is the
cog.sh
script.https://github.com/cocogitto/cocogitto-action/blob/ac6260150ee57e3164cd95b47fc84cdee9e3444c/cog.sh#L20-L25
Based on looking at the script, I actually suspect
cog
's actual check is still doing the right thing, it's just this red herring error message that might confuse a user.To Reproduce Steps to reproduce the behavior:
In a repository with no annotated tags:
Expected behavior A clear and concise description of what you expected to happen.
It should check from the latest tag, whether that is annotated or not.
Additional context Add any other context about the problem here.