Skip to content

Instantly share code, notes, and snippets.

@savannahostrowski
Created August 31, 2023 04:53
Show Gist options
  • Save savannahostrowski/08ff32b3c3cac12f68f96e6a32d45583 to your computer and use it in GitHub Desktop.
Save savannahostrowski/08ff32b3c3cac12f68f96e6a32d45583 to your computer and use it in GitHub Desktop.
Used to grab azd repo issues that were closed between the last release and current release and format them for the blog
#!/usr/bin/env bash
# Usage: ./blog_issues.sh
# Set the start and end dates
read -p "Setting start date: " start_date;
read -p "Setting end date: " end_date;
echo start_date: $start_date end_date: $end_date;
gh issue list --repo azure/azure-dev --search "state:closed closed:$start_date..$end_date" --json number,title,closedAt,author --jq '.[] | "- \(.title) ([azure-dev#\(.number)](https://www.github.com/azure/azure-dev/issues/\(.number)))"' > blog_issues.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment