Add hook to run a command right before publishing
See original GitHub issue- Version: 20.20.4
- Target: macOS
I need a hook to be able to run a script right before electron-builder
publishes the artifacts to GitHub. afterSign
is almost what I need, but it says “(but before pack into distributable format)”. I need to run it after packing into distributable format, when all the distributable files are completely done.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
How To Use Git Hooks To Automate Development and ...
Git hooks are event-based. When you run certain git commands, the software will check the hooks directory within the git repository to see ......
Read more >Automate your workflow with git hooks | by florence - Medium
Git hooks are scripts that run prior to certain events like commit, push, rebase etc. Since they are event-based, when you run certain...
Read more >Git Hooks - Git SCM
The post-rewrite hook is run by commands that replace commits, such as git commit --amend and git rebase (though not by git filter-branch...
Read more >Pre and Post hooks for npm scripting - Marcusoft.net
This command with simply just run whatever code found under the test -key of the scripts -node. Luckily there's a short form too...
Read more >How to Create a Git Hook to Push to Your Server and Github ...
In this article, you will learn how to create a post-receive Git hook that executes when you use the git push command. I...
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
Ideally, we can use go lib and produce it on the fly, but for now just a hook
afterAllArtifactBuild
will be added to allow users to do whatever is needed.Hook will be available only for high-level programmatic or CLI usage. Not low-level.
For programmatic usages it is also required, because returned list of artifacts will not allow you to produce yet another results (to publish it).
Since you are VIP user, will be implemented today.