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:
parent
c1c02204fa
commit
faf30306da
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user