Skip to content

Instantly share code, notes, and snippets.

View drobison's full-sized avatar

David Robison drobison

View GitHub Profile
@drobison
drobison / gist:1f321eb55136aba94dad53f32d858c3d
Last active January 11, 2017 19:42 — 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.
#