Skip to content

Use runtime/debug for providing the version #6812

Closed as not planned
Closed as not planned
@sapk

Description

@sapk

Since go1.12 we can get the version from runtime/debug for the main module (gitea itself) and also submodules (lib) we are using. golang/go@45e9c55

So when we will only support 1.12 and 1.13 we could migrate to this system and clear some makefile and also wiil fix #4782 since we will not rely on env variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions