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.

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:closed
  • Created 5 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
develarcommented, Jul 15, 2018

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).

0reactions
develarcommented, Jul 15, 2018

Since you are VIP user, will be implemented today.

Read more comments on GitHub >

github_iconTop 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 >

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