Skip to content

Instantly share code, notes, and snippets.

@define-null
define-null / keybase.md
Created September 10, 2019 19:36
keybase.md

Keybase proof

I hereby claim:

  • I am define-null on github.
  • I am def_null (https://keybase.io/def_null) on keybase.
  • I have a public key ASA04a-5X_Z4jtRu3K-U6ItuwV7cQ0S13oIrqzciO76iyQo

To claim this, I am signing this object:

#! /bin/bash
# Assumes that you tag versions with the version number (e.g., "1.1")
# and then the build number is that plus the number of commits since
# the tag (e.g., "1.1.17")
DESCRIBE=`git describe --tags --always`
# increment the build number (ie 115 to 116)
VERSION=`echo $DESCRIBE | awk '{split($0,a,"-"); print a[1]}'`