microsoft / ReportingServicesTools

Reporting Services Powershell Tools
MIT License
458 stars 213 forks source link

Installation bug - ModuleVersion listed as 0.0.6.0 when installing Master version #343

Closed jbelina closed 3 years ago

jbelina commented 3 years ago

Do you want to request a feature or report a bug? Reporting an installation bug

What is the current behavior? After installing via the two Invoke-Expression installation methods from README.md, Get-Command indicates the version is 0.0.6.0

Root cause: The version number listed in the module manifest ReportingServicesTools.psd1 contains the wrong version number.

# Version number of this module. ModuleVersion = '0.0.6.0'

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

  1. Uninstall the current version of ReportingServicesTools
  2. Install via one of the two Invoke-Expression installation methods Invoke-Expression (Invoke-WebRequest https://raw.githubusercontent.com/Microsoft/ReportingServicesTools/master/Install.ps1) or Invoke-Expression (Invoke-WebRequest https://aka.ms/rstools)
  3. Note as part of the installation, the installed commands are returned and show version 0.0.6.0

What is the expected behavior?

Get-Command -Module ReportingServicesTools should return the current version (0.0.6.6) for each of the alias and functions exported by this module.

Which versions of Powershell and which OS are affected by this issue? Did this work in previous versions of our scripts? This is the first time I've installed ReportingServicesTools, however I got the same results via both pwsh v7.1.4 and powershell v5.1.19041.1023

Proposed solution Update ReportingServicesTools.psd1 with the current version number.

jbelina commented 3 years ago

I am now using powershell v5.1.19041.1023 since I realized that New-WebServiceProxy hasn't been ported to Powershell Core.

jbelina commented 3 years ago

Fixed via PR #344