Skip to content

Commit

Permalink
Merge branch 'pr928' into stable
Browse files Browse the repository at this point in the history
* pr928:
  (GH-925) Make package title available to $env
  • Loading branch information
ferventcoder committed Sep 12, 2016
2 parents 2767025 + d36c699 commit eddf669
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,8 @@ public void prepare_powershell_environment(IPackage package, ChocolateyConfigura

Environment.SetEnvironmentVariable("chocolateyPackageName", package.Id);
Environment.SetEnvironmentVariable("packageName", package.Id);
Environment.SetEnvironmentVariable("chocolateyPackageTitle", package.Title);
Environment.SetEnvironmentVariable("packageTitle", package.Title);
Environment.SetEnvironmentVariable("chocolateyPackageVersion", package.Version.to_string());
Environment.SetEnvironmentVariable("packageVersion", package.Version.to_string());
Environment.SetEnvironmentVariable("chocolateyPackageFolder", packageDirectory);
Expand Down

0 comments on commit eddf669

Please sign in to comment.