-
-
Notifications
You must be signed in to change notification settings - Fork 712
Closed
Labels
type:DocumentationDocumentation improvement or changeDocumentation improvement or changetype:InfrastructureInfrastructure/ecosystem related changes, such as CMake or buildbotsInfrastructure/ecosystem related changes, such as CMake or buildbots
Milestone
Description
In the release documentation, ITK/Documentation/Release.md make it easier to copy and execute commands.
- Remove
$from shell commands - For long, multi-line commands, create short scripts inline, e.g.
cat << REMOTE_SCRIPT_EOF > /tmp/itk_linux_release.sh
set -ex
cd ~/Packaging/ITKPythonPackage
git reset --hard HEAD
git fetch origin
git checkout v$version
git clean -fdx
/home/kitware/Support/skbuild-venv/bin/python setup.py sdist --formats=gztar,zip
./scripts/dockcross-manylinux-build-wheels.sh
tar cvzf /tmp/dist-linux.tar.gz ./dist
rm dist/*
cd ..
./ITKPythonPackage/scripts/dockcross-manylinux-build-tarball.sh
REMOTE_SCRIPT_EOF
ssh $metroplex 'bash -s' < /tmp/itk_linux_release.sh
Suggested by @jcfr
See also the discussion here:
jcfr
Metadata
Metadata
Assignees
Labels
type:DocumentationDocumentation improvement or changeDocumentation improvement or changetype:InfrastructureInfrastructure/ecosystem related changes, such as CMake or buildbotsInfrastructure/ecosystem related changes, such as CMake or buildbots