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

Prepare-Release.ps1 fails with InvalidOperation and PropertyNotFoundException #1923

Closed
pakrym opened this issue Aug 18, 2021 · 0 comments · Fixed by #1924
Closed

Prepare-Release.ps1 fails with InvalidOperation and PropertyNotFoundException #1923

pakrym opened this issue Aug 18, 2021 · 0 comments · Fixed by #1924
Assignees
Labels
Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Comments

@pakrym
Copy link
Contributor

pakrym commented Aug 18, 2021

> .\eng\common\scripts\Prepare-Release.ps1 Azure.Core

Package Name [ Azure.Core ]
Source directory [ core ]

Assuming release is in September with release date 09/07/2021
Input the new version, or press Enter to use use current project version '1.18.0-beta.1': 1.18.0
InvalidOperation: D:\github\azure\net\eng\common\scripts\Helpers\DevOps-WorkItem-Helpers.ps1:86
Line |
  86 |        -Headers $headers -ContentType "application/json" -MaximumRetry …
     |                 ~~~~~~~~
     | The variable '$headers' cannot be retrieved because it has not been set.

PropertyNotFoundException: D:\github\azure\net\eng\common\scripts\Helpers\DevOps-WorkItem-Helpers.ps1:88
Line |
  88 |        if ($batchResponse.value)
     |            ~~~~~~~~~~~~~~~~~~~~
     | The property 'value' cannot be found on this object. Verify that the property exists.

InvalidOperation: D:\github\azure\net\eng\common\scripts\Helpers\DevOps-WorkItem-Helpers.ps1:86
Line |
  86 |        -Headers $headers -ContentType "application/json" -MaximumRetry …
     |                 ~~~~~~~~
     | The variable '$headers' cannot be retrieved because it has not been set.

PropertyNotFoundException: D:\github\azure\net\eng\common\scripts\Helpers\DevOps-WorkItem-Helpers.ps1:88
Line |
  88 |        if ($batchResponse.value)
     |            ~~~~~~~~~~~~~~~~~~~~
     | The property 'value' cannot be found on this object. Verify that the property exists.

cc @weshaggard

@pakrym pakrym added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Aug 18, 2021
@weshaggard weshaggard self-assigned this Aug 18, 2021
@ghost ghost closed this as completed in #1924 Aug 18, 2021
ghost pushed a commit that referenced this issue Aug 18, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants