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

Version of VstsTaskSdk packages in PSGallery module stop at 0.11.0 and does not contain fixes from 0.12.0 thru 0.14.0. Please publish newer versions referenced in release notes. #956

Closed
tristanbarcelon opened this issue Jul 21, 2023 · 2 comments

Comments

@tristanbarcelon
Copy link

Please check our current Issues to see if someone already reported this https://github.com/Microsoft/azure-pipelines-task-lib/issues

Environment

azure-pipelines-task-lib version: 0.11.0

Issue Description

I would like to take advantage of fixes documented in newer versions of VstsTaskSdk but these fixes are not published in powershellgallery.com.

Expected behaviour

Attempting to consume latest version 0.14.0 of VstsTaskSdk triggers an error.

Actual behaviour

Should be able to to consume latest version of VstsTaskSdk.

Steps to reproduce

  1. Proceed to local git repo containing new powershell-based task using powershell
  2. Create a new ps_modules subfolder if it does not exist and switch current working directory to that subfolder
  3. Invoke Save-Module -Name VstsTasksdk -Repository PSGallery -RequiredVersion '0.14.0' -Path .\ as shown by SDK consumption guide and you will encounter error
PackageManagement\Save-Package : No match was found for the specified search criteria and module name 'VstsTaskSdk'. Try Get-PSRepository to see all available registered module repositories.
At C:\Program Files\WindowsPowershell\Modules\PowershellGet\1.0.0.1\PSModule.psml:1598 char:21
+                   $null = PackageManagement\Save-Package @PSBoundParameters
+                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo           : ObjectNotFound: (Microsoft.Power...ets.SavePackage:SavePackage) [Save-Package] Exception

Logs

@tristanbarcelon tristanbarcelon changed the title Version of VstsTaskSdk packages in PSGallery module stop at 0.11.0 and does not contain fixes from 0.12.0 thru 0.14.0 Version of VstsTaskSdk packages in PSGallery module stop at 0.11.0 and does not contain fixes from 0.12.0 thru 0.14.0. Please publish newer versions referenced in release notes. Jul 21, 2023
@aleksandrlevochkin
Copy link
Contributor

Hi @tristanbarcelon thank you for reporting this issue! This is currently being worked on.

@github-actions
Copy link

This issue has had no activity in 90 days. Please comment if it is not actually stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants