Skip to content

Instantly share code, notes, and snippets.

View jdstuart's full-sized avatar

JD Stuart jdstuart

  • Stuart TC Inc.
  • Remote
View GitHub Profile
@jdstuart
jdstuart / gist:b0f1b9bb795263afed97282332c62327
Created May 13, 2016 03:09 — forked from stevenkuhn/gist:5062660
This PowerShell script generates release notes for Octopus Deploy that contain the GitHub commits and JIRA issues from the current build to the latest production release. It will also create the Octopus release based on the TeamCity build number.
#
# Assumptions
#
# 1. If you have a Octopus release deployed, say 1.0.0.73, there is a git
# tag set for that commit in GitHub that is "v1.0.0.73".
#
# 2. You have TeamCity label each successful build in GitHub with the format
# "v{build number}. Sidenote: it appears that TeamCity only labels the
# default branch, but not feature branches.
#