question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Possible to publish without building?

See original GitHub issue
  • Version: 19.10.0
  • Target: (copied from build scripts): targets: builder.Platform.WINDOWS.createTarget(["nsis", "zip"], builder.Arch.ia32, builder.Arch.x64), targets: builder.Platform.WINDOWS.createTarget(["squirrel"], builder.Arch.x64), targets: builder.Platform.MAC.createTarget(["dmg", "zip"]), targets: builder.Platform.LINUX.createTarget(["deb", "rpm", "AppImage"], builder.Arch.ia32, builder.Arch.x64),

Our build system utilizes a code signing service. After electron-builder finishes packaging our app for a given target, we submit the build to our code sign service. After some amount of time, the service returns the signed binaries. At this point, I would like to be able to leverage electron-builder’s publish capability to publish a draft release to github. Is it possible to programmatically invoke electron-builder’s publish feature on a preexisting set of files? Something like:

    builder.publish({
        targets: builder.Platform.LINUX.createTarget(["deb", "AppImage"], builder.Arch.ia32, builder.Arch.x64),
        config
    });

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
develarcommented, Jun 28, 2017

Cool that you are so smart 😃 👍

1reaction
eanders-mscommented, Jun 28, 2017

I think I lack the context to understand your suggestion. I found a straight-forward solution to my problem by calling electron-publish programmatically from my build script. If you like you can see it here (gulpfile.js): https://github.com/eanders-MS/electron-test

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it possible to publish without building? - MSDN - Microsoft
As far as I know, we cannot prevent building while publishing the applications. However if you are able to use command-line, you can...
Read more >
Publish without building · Issue #2536 - GitHub
Is it possible to publish without rebuilding? The use-case I have in mind is the following: build; run some tests on the packaged...
Read more >
How to deploy to a server without build a projekt
With above steps, a pipeline without build tasks is created. You can then add some utility tasks like copy file task, publish artifacts...
Read more >
How do I build/publish a dotnet application without all ... - Reddit
Well you need them. You can either put the entire folder in a fresh linux install and it will just work or you...
Read more >
How to get your research published… …and then noticed.
This won't be the only paper you'll publish, so it's useful to build an understanding of what works well and where you could...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found