Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delta update for nuget is not created #1884

Open
maoryadin opened this issue Jun 24, 2024 · 1 comment
Open

delta update for nuget is not created #1884

maoryadin opened this issue Jun 24, 2024 · 1 comment

Comments

@maoryadin
Copy link

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.

@tiecia
Copy link

tiecia commented Jul 30, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants