current version: imagefailed+26-gb842d2a32 #11425

Closed
opened 2025-11-02 09:37:17 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @zjjhot on GitHub (Aug 9, 2023).

Description

TAGS=bindata mingw32-make build

When I compiled gitea, this version number was displayed as imagefailed+26-gb842d2a32

What is "imagefailed", something wrong with that,

"imagefailed" should be like "1.21.0-dev ....."

Gitea Version

main branch

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

windows

Database

None

Originally created by @zjjhot on GitHub (Aug 9, 2023). ### Description TAGS=bindata mingw32-make build When I compiled gitea, this version number was displayed as imagefailed+26-gb842d2a32 What is "imagefailed", something wrong with that, "imagefailed" should be like "1.21.0-dev ....." ### Gitea Version main branch ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? windows ### Database None
GiteaMirror added the type/bug label 2025-11-02 09:37:17 -06:00
Author
Owner

@CaiCandong commented on GitHub (Aug 9, 2023):

The version number of gitea is generated based on git tags, which you can check with the following command. This is not a problem with gitea:

git describe --tags --always | sed 's/-/+/' | sed 's/^v//'

@CaiCandong commented on GitHub (Aug 9, 2023): The version number of gitea is generated based on git tags, which you can check with the following command. This is not a problem with gitea: `git describe --tags --always | sed 's/-/+/' | sed 's/^v//'`
Author
Owner

@zjjhot commented on GitHub (Aug 9, 2023):

The version number of gitea is generated based on git tags, which you can check with the following command. This is not a problem with gitea:

git describe --tags --always | sed 's/-/+/' | sed 's/^v//'

Thank you very much.
The version displayed correctly after remove my own tag.

@zjjhot commented on GitHub (Aug 9, 2023): > The version number of gitea is generated based on git tags, which you can check with the following command. This is not a problem with gitea: > > `git describe --tags --always | sed 's/-/+/' | sed 's/^v//'` Thank you very much. The version displayed correctly after remove my own tag.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11425