Skip to content

Instantly share code, notes, and snippets.

@ryohey
Created February 1, 2016 05:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryohey/b00d2df06ed8f6abe77e to your computer and use it in GitHub Desktop.
Save ryohey/b00d2df06ed8f6abe77e to your computer and use it in GitHub Desktop.
自分にアサインされている最新のマイルストーンの issue の一覧ページを開く
#!/bin/bash
cd ~/path/to/repository
user=YOUR_USER_NAME
repopath=ORGANIZATION/REPONAME
next_version=$(ghi milestone | head -2 | tail -1 | sed -e 's/.*\(v[0-9\.]*\).*/\1/')
echo $next_version
issues_url="https://github.com/repopath/issues?q=is:open+is:issue+author:$user+milestone:$next_version"
open $issues_url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment