Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitea version update #9913

Closed
paulocarvalho2899 opened this issue Jan 21, 2020 · 4 comments
Closed

Gitea version update #9913

paulocarvalho2899 opened this issue Jan 21, 2020 · 4 comments

Comments

@paulocarvalho2899
Copy link

gitea/main.go

Line 32 in 8cb9b2f

Version = "1.9.0-dev"

Hi, I was updating my gitea server and I noticed that my gitea version didn't change. After some tests and insistence I assumed that the "problem" was in the code. So I searched and found in the main.go file, which was not being maintained the version parameter.

@6543
Copy link
Member

6543 commented Jan 21, 2020

@paulocarvalho2899 do you build the software yourself ?

@paulocarvalho2899
Copy link
Author

Yes, I execute the command "go build" (I don't know if I'm supposed to change the version, is it?)

@6543
Copy link
Member

6543 commented Jan 21, 2020

@paulocarvalho2899 you should use make: https://docs.gitea.io/en-us/install-from-source/#build
or set (on compilation):

gitea/Makefile

Line 44 in 5cf241b

LDFLAGS := $(LDFLAGS) -X "main.MakeVersion=$(MAKE_VERSION)" -X "main.Version=$(GITEA_VERSION)" -X "main.Tags=$(TAGS)"

@paulocarvalho2899
Copy link
Author

@6543 thanks :)

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants