Skip to content

7.1.4 global tool is not on NuGet #15930

Closed

Description

@mikenunan

Prerequisites

Steps to reproduce

We are now 2 days after release but no sign of the NuGet package yet:

https://www.nuget.org/packages/PowerShell/
image

This is a recurrence of #15011 except this time the choco package is missing as well:

https://community.chocolatey.org/packages/powershell.portable
image

Aditya Patwardhan (@adityapatwardhan) guess there's something amiss with your fix from that previous go-around? The new version is available via winget though, I noted.

Expected behavior

New version available as dotnet global tool update and on Chocolatey within around 24 hours of release

Actual behavior

No new version on either distribution platform after two days.

Error details

No response

Environment data

Not applicable

Visuals

No response

Activity

  1. added
    Needs-Triage
    on Aug 14, 2021
  2. added
    WG-Maintainers-Build
    Issue-Question
    on Aug 15, 2021
  3. iSazonov commented on Aug 15, 2021

    @iSazonov
    Collaborator
  4. Stelzi79 commented on Aug 17, 2021

    @Stelzi79

    Well last few updates weren't pushed in a timely manner to Nuget automatically either.

    Question: Is the release channel of Powershell at Nuget deprecated?

  5. MaximoTrinidad commented on Aug 17, 2021

    @MaximoTrinidad

    Stelzi79 (@Stelzi79)

    For me, this delay is normal. I always wait a few weeks and use the following command to update the dotnet PowerShell tool:

    dotnet tool update -g powershell
    

    this always works for me!
    I wish that later on, the update can be close to the new version release date.

  6. added
    Issue-Bug
    and removed
    Issue-Question
    on Aug 17, 2021
  7. TBBle commented on Aug 18, 2021

    @TBBle

    According to the same issue for 7.1.3 (#15011 (comment)), the delay is not expected, but 7.1.3 had a pipeline bug that was believed fixed for 7.1.4.

    7.1.2 was available on nuget.org within a day, based on tag dates.

    I also note that the none of the 7.2.0 previews since 7.2.0-preview.5 have been published either, but I did see some discussion elsewhere that publishing the previews to nuget.org wasn't desired.

    I have very little context on this, but

    ### -WhatIf to make sure we do not release global tool. Remove -WhatIf when the PowerShell name reservation is done.
    Copy-Item $globalToolPath -Destination "$(Pipeline.Workspace)/release" -WhatIf
    suggests that auto-upload of the PowerShell Global Tool package is currently disabled pending name reservation; the name reservation appears to have been done, so perhaps this is just a missing update to the pipeline?

    image

    For reference, Microsoft.PowerShell.SDK does appear to be auto-publishing correctly (including previews), but I could not find the release pipeline logs on Azure DevOps so I assume they are private.

    This is a recurrence of #15011 except this time the choco package is missing as well:

    That chocolatey package appears to be community-maintained, so wouldn't be auto-updated on release, but depends on the maintainer to push an update. It looks like that's also been user driven for some of the last few releases, so opening a PR to that repo would probably help get that part resolved.

  8. jonstelly commented on Aug 19, 2021

    @jonstelly

    Question: Is the release channel of Powershell at Nuget deprecated?

    I hope not. I can't run the APT package because of #14055 but the dotnet tool install works fine.

  9. daxian-dbw commented on Aug 20, 2021

    @daxian-dbw
    Member

    Sorry for the delay and the global tool packages for 7.1.4 and 7.0.7 are now available in nuget.org.
    Apparently, the release pipeline fix was missed in the 7.1.4 and 7.0.7 release branches ... I have sent out PRs to bring the fix in those 2 branches, so as to make sure the next servicing release branch will contain the fix.

    Also opened PR #15961 to get it fixed in master.

  10. jonstelly commented on Aug 20, 2021

    @jonstelly

    Awesome, thanks! I see the package on nuget.org (sometimes the nuget.org website and API is delayed a bit) and the dotnet tool update found and updated to 7.1.4 as expected.

  11. mikenunan commented on Aug 20, 2021

    @mikenunan
    Author

    That's great, thanks for sorting that out 🙏

  12. ghost removed
    Needs-Triage
    on Aug 20, 2021
  13. MaximoTrinidad commented on Aug 20, 2021

    @MaximoTrinidad

    Dongbo Wang (@daxian-dbw)

    It's confirmed! dotnet PowerShell tool was updated to 7.1.4.

    dotnet tool update -g powershell
    
    PS C:\Users\max_t> dotnet tool update -g powershell
    Tool 'powershell' was successfully updated from version '7.1.3' to version '7.1.4'.
    PS C:\Users\max_t>
    

    For both Windows and WSL2.

    Awesome!

    I always wait at least a week after it's released.

    Thanks!!

  14. daxian-dbw commented on Aug 20, 2021

    @daxian-dbw
    Member

    I always wait at least a week after it's released.

    Sorry for that :( It will be published along with other nupkg packages the next servicing release.

  15. TBBle commented on Oct 15, 2021

    @TBBle

    I have sent out PRs to bring the fix in those 2 branches, so as to make sure the next servicing release branch will contain the fix.

    Also opened PR #15961 to get it fixed in master.

    Dongbo Wang (@daxian-dbw): Did those branch PRs happen? It seems like the fix wasn't applied in the 7.1.5 release at least.

    I also can't find where the release pipeline runs on Azure DevOps, to see the output for the release build.

  16. daxian-dbw commented on Oct 15, 2021

    @daxian-dbw
    Member

    The change was ported to the release branches but it seems the 7.1.5 and 7.0.8 release branches were recreated ...
    I have added the Backport-consider label for 7.0 and 7.1, hoping to get the fix back ported in future release branches for sure.

    For the global tool package, I manually pushed 7.1.5 and 7.0.8 to nuget.org, please give it another try now. Again, sorry for running into this issue again :(

  17. TBBle commented on Oct 15, 2021

    @TBBle

    Yup, I can see both new versions on NuGet Gallery now, and updating 7.1.4 to 7.1.5 worked. Thank you for quickly fixing that.

    C:\Users\paulh>dotnet tool update --global powershell
    Tool 'powershell' was successfully updated from version '7.1.4' to version '7.1.5'.
    
  18. mikenunan commented on Oct 19, 2021

    @mikenunan
    Author

    Many thanks Dongbo Wang (@daxian-dbw) for taking care of that for 7.1.5 🙏

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugWG-Maintainers-Build

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions