File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 20
20
if [[ ${CW_INSTALLATION_FILE_PATHS+defined} ]]; then
21
21
cp -r $CW_BUILD_TMPDIR /_inst_dir/previous_input* $CW_INSTALLATION_PREFIX /share
22
22
fi
23
- echo " tag: $( git -C $SCRIPT_DIR describe --tags 2> /dev/null) " > $CW_INSTALLATION_PREFIX /share/VERSION.yml
24
- echo " commit: $( git -C $SCRIPT_DIR rev-parse --short HEAD 2> /dev/null) " >> $CW_INSTALLATION_PREFIX /share/VERSION.yml
23
+ echo " tag: $( cd $SCRIPT_DIR ; git describe --tags 2> /dev/null) " > $CW_INSTALLATION_PREFIX /share/VERSION.yml
24
+ echo " commit: $( cd $SCRIPT_DIR ; git rev-parse --short HEAD 2> /dev/null ) " >> $CW_INSTALLATION_PREFIX /share/VERSION.yml
25
25
echo " build-time: $( date) " >> $CW_INSTALLATION_PREFIX /share/VERSION.yml
26
26
27
27
cp $CW_BUILD_TMPDIR /conf.yaml $CW_INSTALLATION_PREFIX /share
You can’t perform that action at this time.
0 commit comments