Skip to content

Conversation

@gep13
Copy link
Member

@gep13 gep13 commented Nov 26, 2025

Description Of Changes

This commit addresses that, by adding it into the correct location.

Motivation and Context

When we shipped CLI 2.5.0, we added a new environment variable called ChocolateyPreviousPackageVersion, which stores the version number for the previously installed package version, and this is set when doing a "choco upgrade". However, this environment variable never made its way into the docs site.

Testing

  • I have previewed these changes using the Docker Container or another method before submitting this pull request.

Change Types Made

  • Minor documentation fix (typos etc.).
  • Major documentation change (refactoring, reformatting or adding documentation to existing page).
  • New documentation page added.
  • The change I have made should have a video added, and I have raised an issue for this.
    • Issue #

Change Checklist

  • Requires a change to menu structure (top or left-hand side)/
  • Menu structure has been updated
  • Images added to the img repository?
    • PR -

Related Issue

N/A

@gep13 gep13 requested a review from AdmiringWorm November 26, 2025 09:56
Copy link
Member

@AdmiringWorm AdmiringWorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a single question, otherwise this looks fine.

When we shipped CLI 2.5.0, we added a new environment variable called
ChocolateyPreviousPackageVersion, which stores the version number for
the previously installed package version, and this is set when doing a
"choco upgrade".  However, this environment variable never made its way
into the docs site.

This commit addresses that, by adding it into the correct location.
@gep13 gep13 force-pushed the docs-about-previous-version branch from c42ad1b to dc4ce9a Compare November 26, 2025 11:00
@gep13 gep13 requested a review from AdmiringWorm November 26, 2025 11:01
Copy link
Member

@AdmiringWorm AdmiringWorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AdmiringWorm AdmiringWorm merged commit ae2734d into chocolatey:master Nov 26, 2025
1 check passed
@gep13 gep13 deleted the docs-about-previous-version branch November 26, 2025 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants