File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -96,17 +96,15 @@ export async function afterRelease() {
9696 const localZipPath = path . join ( publishPath , file ) ;
9797 // Check if the local file exists
9898 await fs . access ( localZipPath ) ;
99-
100- const escapedChangelog = changelog . replace ( / " / g, '\\"' ) . replace ( / \n / g, '\\n' ) ;
101-
99+
102100 // Build the curl command - use local file path, not URL
103101 const curlCommand = [
104102 'curl -X POST "https://cloud.tangible.one/api/bitbucket/downloads"' ,
105103 `--form files=@"${ localZipPath } "` ,
106104 `--form "product_id=${ productId } "` ,
107105 `--form "plugin_id=${ pluginId } "` ,
108106 `--form "version=${ isTag ? gitRefName : 'unknown' } "` ,
109- `--form "changelog=${ escapedChangelog } "` ,
107+ `--form "changelog=${ changelog . replace ( / " / g , '\\"' ) } "` ,
110108 `--form "slug=${ repoName } "`
111109 ] . join ( ' \\\n ' ) ;
112110
You can’t perform that action at this time.
0 commit comments