Skip to content

Instantly share code, notes, and snippets.

View stevenkuhn's full-sized avatar

Steven Kuhn stevenkuhn

View GitHub Profile
## Octopus Azure deployment script, version 1.1
## --------------------------------------------------------------------------------------
##
## This script is used to control how we deploy packages to Windows Azure.
##
## When the script is run, the correct Azure subscription will ALREADY be selected,
## and we'll have loaded the neccessary management certificates. The Azure PowerShell module
## will also be loaded.
##
## If you want to customize the Azure deployment process, simply copy this script into

Keybase proof

I hereby claim:

  • I am stevenkuhn on github.
  • I am stevenkuhn (https://keybase.io/stevenkuhn) on keybase.
  • I have a public key ASBljJq4I8JmLl_GTa2JNWQcsLo5QVVaXUKU7ZFhhSXFewo

To claim this, I am signing this object:

@stevenkuhn
stevenkuhn / gist:5062660
Last active March 7, 2023 16:03
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.
#