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.

Exclude certain targets from Github release publishing

See original GitHub issue
  • Version: 5.11.3
  • Target: windows, linux (deb+appimage), mac (dmg, zip, mas)

I’d like to be able to e.g. build for MAS on CI but not then publish to a Github release. Could you add a publish_filter build option to exclude certain targets?

I suppose a workaround for this right now would be to exclude MAS from the package.json default build options, and then run a separate build process with --target=mas --publish=never, but that would slow down the builds somewhat.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
develarcommented, Sep 2, 2016

Set build.mas.publish to null to disable publishing or set to bintray to publish to bintray (“to easily download it from somewhere.”). Bintray — set package name to github repository name, bintray repository — standard generic.

0reactions
jwhearecommented, Jul 11, 2016

@develar Looks like that issue is actually resolved in the comments (though not closed) and also it looks like you can customise the addons.artifacts.paths with custom commands.

I am not particularly attached to S3, and in fact it may be overcomplicating matters. I just want to be able to easily download it from somewhere. Maybe the Github release is after all the best place for it, since I am already downloading artifacts from there to perform final sanity testing. I just have to remember to remove it from the release before publishing it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to exclude projects to publish when publishing from a ...
After a lot of searching in the Targets , I found these properties IsPublishable and DeployOnBuild . They are self explanatory. For those...
Read more >
Workflow syntax for GitHub Actions
When using the pull_request and pull_request_target events, you can configure a workflow to run only for pull requests that target specific branches.
Read more >
Manage GitHub Releases for the current repository.
Edit the GitHub release for the specified TAG name. Accepts the same options as create command. Publish a draft with --draft=false . Without...
Read more >
Configuring code scanning - GitHub Docs
Excluding specific queries from analysis. Specifying directories to scan. Example configuration files. Configuring code scanning for compiled languages.
Read more >
Skipping workflow runs - GitHub Docs
You can skip workflow runs triggered by the push and pull_request events by including a command in your commit message.
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