#!/usr/bin/env bash

# Return the portion of the version number generated from git
# <trunk-basis>

set -e

trunk_basis=`script/build/trunk_revision`
sha=`git rev-parse HEAD`

sha=${sha:0:${#sha}-34} # drop the last 34 characters, keep 6

echo $trunk_basis
