1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00

Desktop: Seamless-Updates: updated asset name locally after update call to GitHub API (#11050)

This commit is contained in:
Alice 2024-09-15 17:31:41 +03:00 committed by GitHub
parent c1c02204fa
commit faf30306da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,6 +20,7 @@ const renameReleaseAssets = async (context: Context, release: GitHubRelease) =>
if (asset.name.match(pattern)) {
const newName = asset.name.replace(pattern, replacement);
await updateReleaseAsset(context, asset.url, newName);
asset.name = newName;
// Only rename a release once.
break;