Created
February 1, 2016 05:00
-
-
Save ryohey/b00d2df06ed8f6abe77e to your computer and use it in GitHub Desktop.
自分にアサインされている最新のマイルストーンの issue の一覧ページを開く
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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