diff options
author | Charadon <dev@iotib.net> | 2022-10-08 14:57:52 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-10-08 14:57:52 -0400 |
commit | 242c66e37760c17d5cac28d473b3d862a1e73379 (patch) | |
tree | a5cd61dc7df8f528a674a1dbb93c730fc2eb3b9e /config.sh | |
parent | 3ab7ec9bc605c34dc6ad5994457106b20b72d7ff (diff) | |
download | dscip-242c66e37760c17d5cac28d473b3d862a1e73379.tar.gz |
dscip: Added COMMIT_DATE variable. This tells the date that CURRENT_COMMIT was made. Format of date is determined by DSCIP_DATE_FORMAT in config.sh
Diffstat (limited to 'config.sh')
-rwxr-xr-x | config.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config.sh b/config.sh index 1968a92..81eb7f5 100755 --- a/config.sh +++ b/config.sh @@ -31,4 +31,6 @@ export DSCIP_DISREGARD_COMMIT_CHECK="false" # If the script should just rebuild export DSCIP_OUTPUT_TO="$WORKING_DIRECTORY/output.txt" # Output to file, default is output.txt # Automatically update DSCIP? export DSCIP_AUTO_UPDATE="false" - +# Set up format for the COMMIT_DATE variable. By default, it's %Y%m%d (YEARMONTHDAY | 20220812) +# See strftime(3) for more information. +export DSCIP_DATE_FORMAT="%Y%m%d" |