Skip to content

Instantly share code, notes, and snippets.

View devendran-m's full-sized avatar

Devendran M devendran-m

View GitHub Profile
@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.
#
@erikvold
erikvold / gh-issue-export.js
Created September 15, 2011 04:21
a quick script I wrote to export GH-issues to json files..
var sys = require("sys");
var fs = require('fs');
var GitHubApi = require("./github").GitHubApi;
var githubAPI = new GitHubApi(true);
var issuesAPI = githubAPI.getIssueApi();
username = "repoUsername";
repo = "repoName";