Skip to content

Instantly share code, notes, and snippets.

@murbanski
Created October 16, 2013 10:41
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save murbanski/7005874 to your computer and use it in GitHub Desktop.
Save murbanski/7005874 to your computer and use it in GitHub Desktop.
What will we deploy?
#!/usr/bin/env sh
git log origin/production..master --no-merges --pretty=format:%s |
egrep -o "[0-9]{6,}" |
xargs -n1 -I :story_id echo "https://www.pivotaltracker.com/story/show/:story_id"
@murbanski
Copy link
Author

The commit messages must be in the following format, where 00000001 is the story number from PivotalTracker:

[00000001] Next Big Feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment