File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ export PKG_VERSION="0.1.0"
2+ export PKG_BUILD="1001"
3+ export PKG_BUILD_DATE="20230813:1940"
Original file line number Diff line number Diff line change @@ -17,12 +17,7 @@ bb-import bb-functions/is
1717# ==================================================================
1818# VARIABLES
1919# ==================================================================
20- #
21- # BUILD VARIABLES
22- #
23- declare -gx FUNCTIONS_BUILD=" x"
24- declare -gx FUNCTIONS_VERSION=" v-1.0.0"
25- declare -gx FUNCTIONS_BUILD_DATE=" 20230718-0033"
20+ source ../.github/.version
2621# ==================================================================
2722# FUNCTIONS
2823# ==================================================================
@@ -64,14 +59,14 @@ functions::version()
6459 local verbosity=" ${1:- } "
6560
6661 if [[ -z " $verbosity " ]]; then
67- echo " ${FUNCTIONS_VERSION } "
62+ echo " ${PKG_VERSION } "
6863 else
6964 echo
7065 echo " Bash-Bits Modular Bash Library"
71- echoWhite " BB-Functions Module ${FUNCTIONS_VERSION } "
66+ echoWhite " BB-Functions Module ${PKG_VERSION } "
7267 echo " Copyright © 2022-2023 Darren (Ragdata) Poulton"
73- echo " Build: ${FUNCTIONS_BUILD } "
74- echo " Build Date: ${FUNCTIONS_BUILD_DATE } "
68+ echo " Build: ${PKG_BUILD } "
69+ echo " Build Date: ${PKG_BUILD_DATE } "
7570 echo
7671 fi
7772}
You can’t perform that action at this time.
0 commit comments