Skip to content

Instantly share code, notes, and snippets.

View dylanfoster's full-sized avatar
🏠
🌮

Dylan Foster dylanfoster

🏠
🌮
View GitHub Profile
@dylanfoster
dylanfoster / prepare-release.sh
Created March 17, 2017 06:19
Conventional changelog generation
#!/bin/bash
set -e
if [ "$DEBUG" = true ]; then
set -x
fi
DEFAULT_VERSION_TYPE="patch"
current_version=$(cat package.json | grep version | cut -d \: -f 2 | tr -d '"' | tr -d ',')
version_type=$1