Downloads:

305,812

Downloads of v 5.0.1:

4,511

Last Update:

8/12/2019

Package Maintainer(s):

Software Author(s):

  • GitTools and Contributors

Tags:

GitVersion

5.0.1 | Updated: 8/12/2019

Downloads:

305,812

Downloads of v 5.0.1:

4,511

Maintainer(s):

Software Author(s):

  • GitTools and Contributors

Tags:

GitVersion 5.0.1

All Checks are Passing

2 Passing Test


Verification Testing Passed

Details

Validation Testing Passed

To install GitVersion, run the following command from the command line or from PowerShell:

>

To upgrade GitVersion, run the following command from the command line or from PowerShell:

>

To uninstall GitVersion, run the following command from the command line or from PowerShell:

>

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade gitversion.portable -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade gitversion.portable -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure gitversion.portable installed
  win_chocolatey:
    name: gitversion.portable
    state: present
    version: 5.0.1
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020!


chocolatey_package 'gitversion.portable' do
  action    :install
  version  '5.0.1'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: gitversion.portable,
    Version: 5.0.1,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller gitversion.portable
{
   Name     = 'gitversion.portable'
   Ensure   = 'Present'
   Version  = '5.0.1'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'gitversion.portable':
  provider => 'chocolatey',
  ensure   => '5.0.1',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install gitversion.portable version="5.0.1" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

There are versions of this package awaiting moderation . See the Version History section below.

This package was approved as a trusted package on 8/12/2019.

Description

Derives SemVer information from a repository following GitFlow or GitHubFlow.


chocolateyInstall.ps1
Generate-BinFile "gv" "$packageFolder\Tools\GitVersion.exe"
chocolateyUninstall.ps1
Remove-BinFile "gv" "$packageFolder\Tools\GitVersion.exe"
Remove-BinFile "GitVersion" "$packageFolder\Tools\GitVersion.exe"
LICENSE.txt
The MIT License (MIT)

Copyright (c) 2013 NServiceBus Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
tools\GitVersion.exe
md5: 461CCBCF726DEF8180F14D190C7B50FB | sha1: DAE3C83DF03E1728BB2A0EF78D0C6F15FC374C7A | sha256: 44E2E21BC984896E40E1946DE17864550AF55104AA8270C5203BE5D9D798B7C5 | sha512: D8D5651377C8F8594F23B58071E040EC150601F64281A091833A437BB3BC4D03BB09CEAC874291A19EEBA7B27F6D9DA7D88EF92539433854841ED6C5D1127AC5
tools\GitVersion.exe.config
<?xml version="1.0" standalone="yes"?>
<configuration>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
  </startup>
  <dllmap os="linux" cpu="x86-64" wordsize="64" dll="git2-572e4d8" target="lib/linux-x64/libgit2-572e4d8.so" />
  <dllmap os="osx" cpu="x86,x86-64" dll="git2-572e4d8" target="lib/osx/libgit2-572e4d8.dylib" />
</configuration>
tools\GitVersion.pdb
 
tools\GitVersion.xml
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>GitVersion</name>
    </assembly>
    <members>
    </members>
</doc>
tools\lib\alpine-x64\libgit2-572e4d8.so
md5: 0AB58F7E68EE6A2E7AC56D828F5CC59B | sha1: 77D3EC94237F2DB19A1359F1F672C6AD8F8DB980 | sha256: 207D6BBE67FD4D9ABB67CA2F0837539913C7C8E0BCAF6C789528304AD28AC6BB | sha512: D9CA3448F951441A8D2F545E534AC1D431354F3D119D2CB9F724C445D513D73CEBD7D476036300CFB364DBDB274F41E6B7A139E473C767764E9B34FB8926F4E8
tools\lib\debian.9-x64\libgit2-572e4d8.so
md5: 8F30E884C4E682BAA723A961D0C976CF | sha1: A77E262A06617DA9E4D51DAA8A665F87F9CFD68D | sha256: 031007A440729627CDD4131D498C8EED8ED6157374FC1C8BE92735B85FDC974F | sha512: 949E8F51319583C7BA14EBEC0CCC8AE6F21A11CDA8299B5BD0D5A2528D5317C6F3F45F085924B310A5D1CA0151F977052CB4D2941DF573C37E55F1F64033F14F
tools\lib\fedora-x64\libgit2-572e4d8.so
md5: 6080C7E7592207F829E6F50D0CB47F13 | sha1: 870801C0ACC96FA1268901445A9ACB6230CD3F59 | sha256: 868FA0CB6A683E6F1E9D22B4BD926BBD080E5BFDD93F70922384CAAFFD255045 | sha512: 083B89A4FDFE06AC74B0F281150A58A5CD5E9B034DDA3EE17DF93E9C923C2F13E4068C9A8BA4BC99A5F6AF4D19B0E1470E99B5A6C0AF05D6C1BC7E915AC54C1D
tools\lib\linux-x64\libgit2-572e4d8.so
md5: 6C255FDE6D48874B2F67EC06A7D77640 | sha1: 20BC444F281112DF36BC3037F88770ED0C717A0D | sha256: D4F16ACE44D3162503339D008A134C20797EAC7CF836F28C0D238B03EF6A66C6 | sha512: 89FFB6FE0B2E9A92410EF6EA60AB6668545E5BFF6785425CD060B044D89598CBA433286EFB3C99C839ED4DD0107B9116B72E70D5A3F4E10C2109697A7B5E98AB
tools\lib\osx\libgit2-572e4d8.dylib
 
tools\lib\rhel-x64\libgit2-572e4d8.so
md5: F931AAF4517F2A637BF01D6B628F685F | sha1: 4628E17D0C8F1C9DD71A4B5B83BD8D92606AE246 | sha256: A332C6808ECA0451048258694DBB23BA004079C302E197A0FCBC909C8E2400F2 | sha512: C7383ABE31B6DDA4C371C0179CF487BB38019F7ABDB74CD074D2C9CCF325CCF3CFCFB622D1511BDA1140A5CAA1915460E6C3BE0D1279F6FBB0CB9366725CB3F5
tools\lib\ubuntu.18.04-x64\libgit2-572e4d8.so
md5: F4F72AA1394ABEF7F85706A7E950D735 | sha1: 1FDF0ECA4B08D96A66E55C340EAD41184541A11C | sha256: E561371C46D13666A6C89D217DE256B71EA438F0E4E60A5E07B47ADB2A293745 | sha512: 0D725CC1FA656FD1C03D492E670CCBBA4A5D19BD7F6857E86F24FC226F9F8393E292E4B6BF0A6F76EC6FA176B37F8512865558E33B223C0BCA316EB3D1C01CB8
tools\lib\win32\x64\git2-572e4d8.dll
md5: 7C0D39886D1633A26003AFF5F10488FB | sha1: D9B161D7B5494F06FE0B28E6F834F3700ABE7C34 | sha256: 288D88AB393EB30682339C1A4F8028AA2EA88610EB87DFE85EC0E438A0A23699 | sha512: BEA13693946AE38BF4B2A6060EB54523043980FB569EE1FCE9658E79D2F67844B973AB5FBF54B6AC6E76DEEB93D43B2E9DA8C024294B694206967F36C2A35935
tools\lib\win32\x64\git2-572e4d8.pdb
 
tools\lib\win32\x86\git2-572e4d8.dll
md5: 9382A788E9F5D9C7CE9B8B902E2831EF | sha1: E5E3CA4691F4DD6D14DDC37401CB373EBC45D488 | sha256: B5E88F0DF5CB3E873F19C6DEBFFCB9E1DC34C2B5D3D3104AEC3E6434A1F1F289 | sha512: EFB115F4BDBA8A5AD49A7FC29EFB398497567FC58023E6507534CD2DD57DCCED101709964ED052FA4931F94A9C8E3D480D05D4D572241B832470DA7D954E8237
tools\lib\win32\x86\git2-572e4d8.pdb
 
tools\LibGit2Sharp.dll.config
<configuration>
    <dllmap os="linux" cpu="x86-64" wordsize="64" dll="git2-572e4d8" target="lib/linux-x64/libgit2-572e4d8.so" />
    <dllmap os="osx" cpu="x86,x86-64" dll="git2-572e4d8" target="lib/osx/libgit2-572e4d8.dylib" />
</configuration>
VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

This package is published by the GitTools organization itself. The binaries are
identical to other package types published by the project, in particular
the GitVersion.Portable nuget package.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
GitVersion 5.0.2-beta1-59 68 Friday, September 20, 2019 approved
GitVersion 5.0.2-beta1-58 76 Wednesday, September 18, 2019 approved
GitVersion 5.0.2-beta1-57 50 Tuesday, September 17, 2019 approved
GitVersion 5.0.2-beta1-56 198 Tuesday, September 10, 2019 approved
GitVersion 5.0.2-beta1-55 11 Tuesday, September 10, 2019 approved
GitVersion 5.0.2-beta1-51 109 Monday, September 9, 2019 approved
GitVersion 5.0.2-beta1-47 101 Friday, September 6, 2019 approved
GitVersion 5.0.2-beta1-42 124 Wednesday, September 4, 2019 approved
GitVersion 5.0.2-beta1-41 141 Monday, September 2, 2019 approved
GitVersion 5.0.2-beta1-40 20 Monday, September 2, 2019 approved
Show More

This package has no dependencies.

Discussion for the GitVersion Package

Ground Rules:

  • This discussion is only about GitVersion and the GitVersion package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or GitVersion, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus