coreh / hookshot

Hookshot is a tiny library and companion CLI tool for handling GitHub post-receive hooks.
MIT License
145 stars 24 forks source link

Listening for new git tags from the command line? #4

Open TooTallNate opened 10 years ago

TooTallNate commented 10 years ago

@coreh I want to execute a command only when a new git tag is pushed. Can I currently do that with hookshot or do we need to add a feature?

TooTallNate commented 10 years ago

If we add minimatch as a dependency then we could just do something like:

$ hookshot -r refs/tags/* 'git pull && make'

Thoughts?