Squirrel.Windows icon indicating copy to clipboard operation
Squirrel.Windows copied to clipboard

delta update for nuget is not created

Open maoryadin opened this issue 1 year ago • 1 comments

delta update for nuget is not created:

✖ [publisher-s3] Running the publish command [FAILED: ENOENT: no such file or directory, open 'C:\actions-runner_work\Wallets\Wallets\Wallets\MyProject{PROJECT}\out\make\squirrel.windows\x64{PROJECT}-14.0.0-delta.nupkg'] ✖ Publishing distributables [FAILED: ENOENT: no such file or directory, open 'C:\actions-runner_work\Wallets\Wallets\Wallets\MyProject{PROJECT}\out\make\squirrel.windows\x64{PROJECT}-14.0.0-delta.nupkg']

only a {PROJECT}-14.0.0-full-nupkg is created. the RELEASES file is empty in the aws.

maoryadin avatar Jun 24 '24 21:06 maoryadin

I just ran into this as well and the following worked for me.

For the first release:

  1. Create an empty file called RELEASES at the same path that the s3 publisher publishes the objects to. Note that @electron-forge/publisher-s3 uploads objects to this path by default.
  2. Point the Squirrel.Windows remoteReleases option to the same directory you created RELEASES in.
  3. Set the Squirrel.Windows option noDelta to true.

For subsequent releases:

  1. Set the Squirrel.Windows option noDelta to false.

The delta file will then be generated for all releases after the first.

tiecia avatar Jul 30 '24 22:07 tiecia