file-scripts/bash/version.sh

10 lines
165 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2022-09-28 21:26:39 -07:00
MAJOR_VERSION=1
MINOR_VERSION=1
PATCH_VERSION=4
if [[ "$1" == '--print' ]]; then
2022-09-30 21:36:24 -07:00
echo "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}"
fi