github.com/kikitux/packer@v0.10.1-0.20160322154024-6237df566f9f/website/source/docs/machine-readable/command-version.html.md (about)

     1  ---
     2  description: |
     3      These are the machine-readable types that exist as part of the output of
     4      `packer version`.
     5  layout: 'docs\_machine\_readable'
     6  page_title: 'Command: version - Machine-Readable Reference'
     7  ...
     8  
     9  # Version Command Types
    10  
    11  These are the machine-readable types that exist as part of the output of
    12  `packer version`.
    13  
    14  <dl>
    15  <dt>
    16  version (1)
    17  </dt>
    18  <dd>
    19      <p>The version number of Packer running.</p>
    20  
    21      <p>
    22      <strong>Data 1: version</strong> - The version of Packer running,
    23      only including the major, minor, and patch versions. Example:
    24      "0.2.4".
    25      </p>
    26  
    27  </dd>
    28  <dt>
    29  version-commit (1)
    30  </dt>
    31  <dd>
    32      <p>The SHA1 of the Git commit that built this version of Packer.</p>
    33  
    34      <p>
    35      <strong>Data 1: commit SHA1</strong> - The SHA1 of the commit.
    36      </p>
    37  
    38  </dd>
    39  <dt>
    40  version-prerelease (1)
    41  </dt>
    42  <dd>
    43      <p>
    44      The prerelease tag (if any) for the running version of Packer. This
    45      can be "beta", "dev", "alpha", etc. If this is empty, you can assume
    46      it is a release version running.
    47      </p>
    48  
    49      <p>
    50      <strong>Data 1: prerelease name</strong> - The name of the
    51      prerelease tag.
    52      </p>
    53  
    54  </dd>
    55  </dl>