Uploaded image for project: 'Percona Toolkit'
  1. Percona Toolkit
  2. PT-2165

Actual Version, GoVersion, and Build for Go tools

Details

    • Improvement
    • Status: Done
    • Medium
    • Resolution: Fixed
    • 3.5.1
    • 3.5.2
    • None
    • None
    • Yes
    • Yes
    • 2

    Description

      Most of Go tools have the following variables defined:

      var (
          Build     string = "2020-04-23" //nolint
          GoVersion string = "1.14.1"     //nolint
          Version   string = "3.5.1"      //nolint
          Commit    string                //nolint
      )
      

      While they are hard-coded, thy then later get overridden by the Makefile. Still, numbers here, especially Build and GoVersion, contain or may contain outdated information. We need either keep them empty (like Commit) or update each time we prepare new release.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sveta.smirnova Sveta Smirnova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Smart Checklist