Skip to content

Instantly share code, notes, and snippets.

View bpatram's full-sized avatar

Brandon Patram bpatram

View GitHub Profile
@bpatram
bpatram / publish-release.sh
Last active February 12, 2021 17:29
Release Notes Generator
#!/bin/bash
# ---------------------------
# Author: Brandon Patram
# Date: 2018-06-19
#
# Description: List out merge commits and one off commits between
# the last tagged release and the current state of master.
#
# Usage: publish-release.sh [-y] [-h] [-v] [-V]
# Examples:
@bpatram
bpatram / inplace-pull.sh
Last active February 18, 2019 15:27
Stash your current changes, pull down latest master, then go back to your branch and apply the stash
#! /bin/bash -e
# ---------------------------
# Author: Brandon Patram
# Date: 2018-06-19
#
# Description: Pull a branch down without losing your current state
# Will stash your current changes and re-apply them after pulling
# down the target branch (or master if not defined)
#
@bpatram
bpatram / strip-flowtype.sh
Last active February 15, 2020 21:22
Strip Flowtype Types from JS files
#!/bin/bash
# ---------------------------
# Author: Brandon Patram
# Date: 2020-02-15
#
# Description: Strip flowtype types from js files
#
# Usage: strip-flowtype.sh [path to directory]
# Examples: