gally
set environment variables that can be used in your scripts as well as
in the .gally.yml
file:
GALLY_ROOT
defines the root directory from gally, i.e. usually the repository top level directoryGALLY_PROJECT_NAME
defines the project nameGALLY_PROJECT_ROOT
defines the location of the project. This variable isGALLY_PROJECT_TAG
if the commit is tagged with the project, defines the version ofGALLY_PROJECT_VERSION
defines the output from theversion:
commandGALLY_PROJECT_WORKDIR
defines the project working directory, i.e. the location of the.gally.yml
file with the to which you add thecontext
property if it exists that tag. iemyproject@12345
Important Note: GALLY_TAG
is deprecated, should not be used and will be remove in a soon to come
release.