Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#2781) Add chocolateyPackageId to env variables #2900

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Nov 11, 2022

  1. (chocolatey#2781) Add chocolateyPackageId to env variables

    Previously the only env variable to reference a Chocolatey package id
    was $env:ChocolateyPackageName. This is inconsistent with the nusepec
    file where it is referenced as id.
    
    This commit adds chocolateyPackageId and packageId to the available
    environment variables available inside the PowerShell host allowing a
    package maintainer to reference the id of a package with the more
    idiomatic $env:ChocolateyPackageId.
    steviecoaster committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    0f8434c View commit details
    Browse the repository at this point in the history