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

Fix for #828: Embed build tags #1051

Merged
merged 5 commits into from
Feb 28, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
Add tags to version information in admin panel
Signed-off-by: Jonas Östanbäck <[email protected]>
  • Loading branch information
cez81 committed Feb 27, 2017
commit 2f81c12f244ff5cf64b1fd0b3de7bf5ae292ba0c
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var Version = "1.1.0+dev"
var Tags = ""

func init() {
setting.AppVer = Version
setting.AppVer = Version + formatBuiltWith(Tags)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be done with a separate variable, IMHO we should not list the build tags on every page in the footer, only within the admin dashboard

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, I missed that!

}

func main() {
Expand Down