Skip to content

Releases: PoshAdoTasks/ado-installmodule

v1.3.2

Choose a tag to compare

@jeffpatton1971 jeffpatton1971 released this 05 Jul 20:12

This version adds some additional checks and verbose output to validate that the version exists in the Gallery.

  1. Check if the module is already installed and matches the required version:

    • Added a check to see if the module is installed.
    • If installed, compare the installed version with the required version.
    • Skip the installation if the installed version matches the required version.
  2. Verbose logging for installed module status:

    • Log a message if the module is already installed with the required version.
    • Log a message if the module is installed but the version does not match the required version.
    • Log a message if the module is not installed.
  3. Check if the specified version is available:

    • Ensure the specified version is available in the repository before attempting to install it.
    • Throw an error if the specified version is not available.
  4. Install the module only if the required version is not already installed:

    • Proceed with the installation if the required version is not already installed.
    • Verify the installation and log the installed version.

Full Changelog: v1.3.1...v1.3.2

Version 1.3.1

Choose a tag to compare

@jeffpatton1971 jeffpatton1971 released this 09 May 21:53

This is a minor and much needed update to allow a version to be passed into the task.

The following changes have been applied:

  • InstallModule.ps1
    • Added Version parameter

Full Changelog: v1.3.0...v1.3.1

Version 1.3.0

Choose a tag to compare

@jeffpatton1971 jeffpatton1971 released this 30 Dec 15:21

This update makes the Task public as well as provides some output while it's running. Making an extension public requires having an overview.md file and an icon.

The following changes have been applied:

  • vss-extension.json
    • Added GalleryFlags
    • Added Links
    • Added Repository
  • InstallModule.ps1
    • Removed Scope logic as it's a picklist now
    • Added WriteVerbose output
    • Added WriteHost output
    • Added light error handling
  • Overview.md
    • Added this file
  • icon.png
    • Added this file

Version 1.2.3

Choose a tag to compare

@jeffpatton1971 jeffpatton1971 released this 30 Dec 00:11

BUGFIX, the task.json had the defaultValue of "true" for AllowClobber

The following changes have been applied:

  • task.json
    • Removed quotes from true

Version 1.2.1

Choose a tag to compare

@jeffpatton1971 jeffpatton1971 released this 29 Dec 23:47

Minor update, the move was moving the versioned folder, updated the task to move the contents.

The following changes have been applied:

  • psakefile.ps1
    • Updated the task to move the files up one level

Version 1.2.0

Choose a tag to compare

@jeffpatton1971 jeffpatton1971 released this 29 Dec 23:40

This update includes a fix for the file not found error, the VstsTaskSdk Module needs to be one level below the task. When you perform the Save-Module command it creates a versioned folder below the VstsTaskSdk folder and all the PowerShell goes there.

The following changes have been applied:

  • psakefile.ps1
    • Updated the task to move the files up one level
  • ps_modules
    • Moved the module files up one level

Version 1.1.0

Choose a tag to compare

@jeffpatton1971 jeffpatton1971 released this 29 Dec 23:22

This update includes a fix for the file not found error as well as a UI update for Scope

The following changes have been applied:

  • ps_modules
    • removed from .gitignore
  • task.json
    • Scope Property
      • Changed from String to Picklist

Version 1.0.0

Choose a tag to compare

@jeffpatton1971 jeffpatton1971 released this 29 Dec 22:50

This is the initial release of the Install Module task. It will allow you to install a PowerShell module from a task in your Azure DevOps pipelines.