[Closed] Send to Slack After Publishing (Exp CLI)

#1

I don’t mind doing the work.

Would Expo be open to a CLI modification allowing you to pass in a slack webhook and posting your release in a Slack channel?

I was going to try and doing this by piping stdout into a command that would do it for me but editing the publish command is sooo much easier :smile:

#2

Hi @peterpme!
I think the tools already have something like that – would this work for your use case? https://blog.expo.io/introducing-support-for-postpublish-hooks-46ab3258fb03

1 Like
#3

This is perfect! Thank you!!

#4

Hey @ccheever,

Do postPublish hooks work in SDK 24? After several attempts I still can’t get this working and figure maybe they were never implemented.

Thanks again!

#5

here’s a totally minimal example of using a postPublish hook – https://github.com/brentvatne/post-publish-example-hello-world

clone, run yarn, throw down an exp publish and watch your terminal for a “Hello Brent”

1 Like
#6

BRENT IS A LIFESAVER

Solved: I didn’t have my hooks under “expo”

1 Like
closed #7

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.