Skip to content

Instantly share code, notes, and snippets.

@andypa
andypa / 0_reuse_code.js
Created November 18, 2013 14:05
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@andypa
andypa / release.sh
Last active September 5, 2019 14:12 — forked from bclinkinbeard/release.sh
Bash script to automate the Git Flow tag/release process
#!/bin/bash
# current Git branch
branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
# latest version
latestVersion=$(git describe --tags `git rev-list --tags --max-count=1`)
# bump version
bumpVersion=$1