Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.36k stars 2.71k forks source link

Prepare-Release scripts buggy with OneDrive folder #35089

Open lzchen opened 2 months ago

lzchen commented 2 months ago

New setup. I have azure-sdk-for-python in my OneDrive folder. I try running the Prepare-Release.ps1 with .\Prepare-Release.ps1 azure-monitor-opentelemetry-exporter -ServiceDirectory monitor -ReleaseDate 04/04/24 as usual but get the following errors:

image

However, when I clone the repo into a regular folder the script works as expected.

There seems to be an error 'C:\Users\lechen\OneDrive' is outside repository at 'C:/Users/lechen/OneDrive - Microsoft/Documents/Projects/Microsoft/azure-sdk-for-python' On branch monitor-release. For context, `'C:\Users\lechen\OneDrive' is a symbolic link to the OneDrive folder above, so perhaps the script is messing up on the iterating through folders to find the CHANGELOG file.

@pvaneck

weshaggard commented 2 months ago

@praveenkuttappan could you take a look?

lzchen commented 1 month ago

Any updates on this?