File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if test "$OSTYPE" = "cygwin" || test "$OSTYPE" = "msys" || test "$OSTYPE" = "win
1010 export CXXFLAGS=" /Zc:__cplusplus /Zc:preprocessor /DNOMINMAX"
1111fi
1212
13- export ITK_WASM_DEV_DOCKER_TAG=${ITK_WASM_DEV_DOCKER_TAG:- $(echo $(date ' +%Y%m%d' )-$(git rev-parse --short HEAD))}
13+ export ITK_WASM_DEV_DOCKER_TAG=${ITK_WASM_DEV_DOCKER_TAG:- $(echo $(date ' +%Y%m%d' )-$(git rev-parse --short=9 HEAD))}
1414
1515export ITK_WASM_DCMTK_REPOSITORY=${ITK_WASM_DCMTK_REPOSITORY:- " https://github.com/InsightSoftwareConsortium/DCMTK" }
1616# 20240311_DCMTK_PATCHES_FOR_ITK-wasm-3
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ pixi run build-docker-images --with-debug
1818pnpm clean && pnpm install && pnpm build && pnpm test
1919
2020git add -- packages/core/typescript/itk-wasm/src/cli/default-image-tag.js
21- git commit -m "feat(itk-wasm-cli): update default Docker image for $(date '+%Y%m%d')-$(git rev-parse --short HEAD)"
21+ git commit -m "feat(itk-wasm-cli): update default Docker image for $(date '+%Y%m%d')-$(git rev-parse --short=9 HEAD)"
2222```
2323
2424## Building with a Local ITK Repository
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ script_dir="`cd $(dirname $0); pwd`"
66source " $script_dir /../oci_exe.sh"
77exe=$( ociExe)
88
9- TAG=$( date ' +%Y%m%d' ) -$( git rev-parse --short HEAD)
10- VCS_REF=$( git rev-parse --short HEAD)
9+ TAG=$( date ' +%Y%m%d' ) -$( git rev-parse --short=9 HEAD)
10+ VCS_REF=$( git rev-parse --short=9 HEAD)
1111VCS_URL=" https://github.com/InsightSoftwareConsortium/ITK-Wasm"
1212BUILD_DATE=$( date -u +" %Y-%m-%dT%H:%M:%SZ" )
1313
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ $cp_exe -a ../../../src/emscripten-module ./ITKWebAssemblyInterfaceModuleCopy/sr
1616mkdir -p median-filter-pipelineCopy
1717$cp_exe -a ../../../packages/core/typescript/itk-wasm/test/pipelines/median-filter-pipeline/{CMakeLists.txt,median-filter-test.cxx} ./median-filter-pipelineCopy
1818
19- TAG=$( date ' +%Y%m%d' ) -$( git rev-parse --short HEAD)
20- VCS_REF=$( git rev-parse --short HEAD)
19+ TAG=$( date ' +%Y%m%d' ) -$( git rev-parse --short=9 HEAD)
20+ VCS_REF=$( git rev-parse --short=9 HEAD)
2121VCS_URL=" https://github.com/InsightSoftwareConsortium/ITK-Wasm"
2222BUILD_DATE=$( date -u +" %Y-%m-%dT%H:%M:%SZ" )
2323
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ for param; do
1919done
2020set -- " ${newparams[@]} " # overwrites the original positional params
2121
22- TAG=$( date ' +%Y%m%d' ) -$( git rev-parse --short HEAD)
22+ TAG=$( date ' +%Y%m%d' ) -$( git rev-parse --short=9 HEAD)
2323host_arch=$( uname -m | sed -e ' s/x86_64/amd64/' -e ' s/aarch64/arm64/' )
2424other_arch=$( if [ " $host_arch " == " amd64" ]; then echo " arm64" ; else echo " amd64" ; fi)
2525
You can’t perform that action at this time.
0 commit comments