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.

How to configure channels for snap publisher

See original GitHub issue
  • Version: 22.7.0
  • Electron Version: any
  • Electron Type (current, beta, nightly): any
  • Target: snap

How to configure channels for snap publisher? It is not clear according to the documentation: https://www.electron.build/configuration/publish#snapstoreoptions

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
mahnunchikcommented, Aug 1, 2020

658

0reactions
rasgo-cccommented, Nov 15, 2020

It’s not documented, but digging in the code you’ll find this:

https://github.com/electron-userland/electron-builder/blob/ff242ab865f65987da4d95183a99c6fbaa7d3b78/packages/app-builder-lib/src/publish/SnapStorePublisher.ts#L18

So, it turns out you can pass Snap channels like this:

 snap: {
    publish:  {
        provider: "snapStore",
        channels: ['edge', 'stable'],
      }
  }
Read more comments on GitHub >

github_iconTop Results From Across the Web

Channels | Snapcraft documentation
A channel consists of, and is subdivided by, tracks, risk-levels and branches: Tracks enable snap developers to publish multiple supported releases of their ......
Read more >
Controlling snap releases with channels, tracks and ...
Snaps can be installed from other channels by simply using a command-line parameter ( snap install --channel=candidate , for example), ...
Read more >
Controlling snap releases with channels, tracks and ...
Snaps can be installed from other channels by simply using a command-line parameter ( snap install --channel=candidate , for example), but those ...
Read more >
About Snap Publisher
Log in to Ads Manager. · Select an Ad Account from the dropdown in the top right corner. · Click the menu in...
Read more >
How to Create Vertical Video with Snap Publisher - YouTube
Create videos for your Snapchat ads in minutes! Learn how to use Snap Publisher, our free ad creation tool, today.
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