Skip to content

Commit 61d266b

Browse files
[Storage][DataMovement[ Prepare hotfix release for 12.2.2 (#52560)
1 parent d8f9a8f commit 61d266b

15 files changed

+98
-37
lines changed

sdk/storage/Azure.Storage.DataMovement.Blobs/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release History
22

3+
## 12.2.2 (2025-09-10)
4+
5+
### Bugs Fixed
6+
- Fixed an issue on upload transfers where file/directory names on the destination may be incorrect. The issue could occur if the path passed to `LocalFilesStorageResourceProvider.FromDirectory` contained a trailing slash.
7+
38
## 12.2.1 (2025-08-06)
49

510
### Bugs Fixed

sdk/storage/Azure.Storage.DataMovement.Blobs/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "net",
44
"TagPrefix": "net/storage/Azure.Storage.DataMovement.Blobs",
5-
"Tag": "net/storage/Azure.Storage.DataMovement.Blobs_f1a4120258"
5+
"Tag": "net/storage/Azure.Storage.DataMovement.Blobs_c2f1f2fc3f"
66
}

sdk/storage/Azure.Storage.DataMovement.Blobs/src/Azure.Storage.DataMovement.Blobs.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</PropertyGroup>
66
<PropertyGroup>
77
<AssemblyTitle>Microsoft Azure.Storage.DataMovement.Blobs client library</AssemblyTitle>
8-
<Version>12.2.1</Version>
8+
<Version>12.2.2</Version>
99
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
1010
<ApiCompatVersion>12.2.0</ApiCompatVersion>
1111
<DefineConstants>BlobDataMovementSDK;$(DefineConstants)</DefineConstants>

sdk/storage/Azure.Storage.DataMovement.Blobs/tests/BlobContainerClientExtensionsTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public async Task VerifyStartUploadDirectoryAsync([Values] bool addBlobDirectory
4646

4747
var blobUri = new Uri(accountUrl + (addBlobDirectoryPath ? containerName + "/" + blobDirectoryPrefix : containerName));
4848

49-
var directoryPath = Path.GetTempPath();
49+
var directoryPath = Path.GetTempPath().TrimEnd(Path.DirectorySeparatorChar);
5050

5151
var options = addTransferOptions ? new TransferOptions() : (TransferOptions)null;
5252

@@ -91,7 +91,7 @@ public async Task VerifyStartDownloadToDirectoryAsync([Values] bool addBlobDirec
9191

9292
var blobUri = new Uri(accountUrl + (addBlobDirectoryPath ? containerName + "/" + blobDirectoryPrefix : containerName));
9393

94-
var directoryPath = Path.GetTempPath();
94+
var directoryPath = Path.GetTempPath().TrimEnd(Path.DirectorySeparatorChar);
9595

9696
var options = addTransferOptions ? new TransferOptions() : (TransferOptions)null;
9797

sdk/storage/Azure.Storage.DataMovement.Files.Shares/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release History
22

3+
## 12.2.2 (2025-09-10)
4+
5+
### Bugs Fixed
6+
- Fixed an issue on upload transfers where file/directory names on the destination may be incorrect. The issue could occur if the path passed to `LocalFilesStorageResourceProvider.FromDirectory` contained a trailing slash.
7+
38
## 12.2.1 (2025-08-06)
49

510
### Bugs Fixed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"AssetsRepo": "Azure/azure-sdk-assets",
3-
"AssetsRepoPrefixPath": "net",
4-
"TagPrefix": "net/storage/Azure.Storage.DataMovement.Files.Shares",
5-
"Tag": "net/storage/Azure.Storage.DataMovement.Files.Shares_90fc7c3256"
2+
"AssetsRepo": "Azure/azure-sdk-assets",
3+
"AssetsRepoPrefixPath": "net",
4+
"TagPrefix": "net/storage/Azure.Storage.DataMovement.Files.Shares",
5+
"Tag": "net/storage/Azure.Storage.DataMovement.Files.Shares_b7d8da3dcc"
66
}

sdk/storage/Azure.Storage.DataMovement.Files.Shares/src/Azure.Storage.DataMovement.Files.Shares.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77
<PropertyGroup>
88
<AssemblyTitle>Microsoft Azure.Storage.DataMovement.Files.Shares client library</AssemblyTitle>
9-
<Version>12.2.1</Version>
9+
<Version>12.2.2</Version>
1010
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
1111
<ApiCompatVersion>12.2.0</ApiCompatVersion>
1212
<DefineConstants>ShareDataMovementSDK;$(DefineConstants)</DefineConstants>

sdk/storage/Azure.Storage.DataMovement/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release History
22

3+
## 12.2.2 (2025-09-10)
4+
5+
### Bugs Fixed
6+
- Fixed an issue on upload transfers where file/directory names on the destination may be incorrect. The issue could occur if the path passed to `LocalFilesStorageResourceProvider.FromDirectory` contained a trailing slash.
7+
38
## 12.2.1 (2025-08-06)
49

510
### Bugs Fixed

sdk/storage/Azure.Storage.DataMovement/src/Azure.Storage.DataMovement.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</PropertyGroup>
66
<PropertyGroup>
77
<AssemblyTitle>Microsoft Azure.Storage.DataMovement client library</AssemblyTitle>
8-
<Version>12.2.1</Version>
8+
<Version>12.2.2</Version>
99
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
1010
<ApiCompatVersion>12.2.0</ApiCompatVersion>
1111
<DefineConstants>DataMovementSDK;$(DefineConstants)</DefineConstants>

sdk/storage/Azure.Storage.DataMovement/src/LocalDirectoryStorageResourceContainer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ internal class LocalDirectoryStorageResourceContainer : StorageResourceContainer
2929
public LocalDirectoryStorageResourceContainer(string path)
3030
{
3131
Argument.AssertNotNullOrWhiteSpace(path, nameof(path));
32+
path = path.TrimEnd(Path.DirectorySeparatorChar);
3233
_uri = PathScanner.GetEncodedUriFromPath(path);
3334
}
3435

0 commit comments

Comments
 (0)