github.com/aspring/packer@v0.8.1-0.20150629211158-9db281ac0f89/website/source/docs/machine-readable/command-version.html.markdown (about)

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