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