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:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Set
build.mas.publish
tonull
to disable publishing or set tobintray
to publish to bintray (“to easily download it from somewhere.”). Bintray — set package name to github repository name, bintray repository — standardgeneric
.@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.