Skip to content

GitVersion.Portable uses deprecated Write-ChocolateySuccess #515

@asbjornu

Description

@asbjornu

When installing version 3 beta 4 of GitVersion.Portable, I got a warning saying Write-ChocolateySuccess is deprecated. If you are the maintainer, please remove it from your package file.. Full command line output:

C:\...> choco install gitversion.portable -pre
Chocolatey v0.9.9.8
Installing the following packages:
gitversion.portable
By installing you accept licenses for the packages.

GitVersion.Portable v3.0.0-beta0004
The package GitVersion.Portable wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider setting 'allowGlobalConfirmation'. Run 'choco feature -h' for more details.
Do you want to run the script?
 1) yes
 2) no
 3) print
1
 Added C:\ProgramData\chocolatey\bin\gfv.exe shim pointed to '..\lib\gitversion.portable\tools\gitversion.exe'.
 WARNING: Write-ChocolateySuccess is deprecated. If you are the maintainer, please remove it from your package file.
 ShimGen has successfully created a shim for GitVersion.exe
 The install of gitversion.portable was successful.

Chocolatey installed 1/1 package(s). 0 package(s) failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions