Unable to use "code.gitea.io/sdk/gitea" when the version is an alien version

SDK - Code” package, whether it can support custom version, such as actively input a version information

Related issue

and PR

I need to do some cleanup in the PR, but hopefully that is able to clear it up.

That being said, you can also use SetGiteaVersion to set the version manually in your code.