Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So to dismantle this:
1.16
Gitea's version
.9999
Uhm.... minor patch is quite high. Guess this is the indication that it's built from development?
+dev-main
IIRC it should be
-dev+main
. But I'm not sure about the+main
part as that is mostly used for build metadata, or something along those lines. Otherwise this could be used as indication that it's development built and then leave the minor patch alone.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.9999
: because themain
branch is always newer than any released version. So I choose the impossible version number 9999. Even duringupdate check
, the Gitea 1.16.9999 in development won't tell developers that "there is a new version 1.16.8 available".+dev-main
: it comes from the current Gitea version format, for exmpale, on try.gitea.io:1.16.0+dev-782-gde8e3948a
. And yes, maybe we do not need the lastmain
, we could use1.16.9999+dev
or1.16.9999+dev-local
instead.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that sense I think we can use
+dev-local
.