diff --git a/Documentation/Maintenance/Release.md b/Documentation/Maintenance/Release.md index 00c94086ec9..030d90000cb 100644 --- a/Documentation/Maintenance/Release.md +++ b/Documentation/Maintenance/Release.md @@ -242,14 +242,23 @@ And fetch new data into the datalad repository. ```bash cd ~/data/ITKData ./ContentLinkSynchronization.sh --create ~/src/ITK +datalad status ``` +If there is new content, commit it with: +```bash +datalad save -m "ENH: Pre-updates for ITK-v" +``` Upload the tree to archival storage with: ```bash +datalad export-archive ~/data/pre-archive +rm -rf ~/data/pre-archive && mkdir -p ~/data/pre-archive && tar -xf ~/data/pre-archive.tar.gz -C ~/data/ +cd ~/data/pre-archive w3 put . --no-wrap -n ITKData-pre-verify -H +cd - ``` Verify and possibly update CID's in the ITK repository with the CID output @@ -273,7 +282,11 @@ add your DID, obtained with `w3 whoami`, to the shared space. Upload the repository update to web3.storage: ```bash +datalad export-archive ~/data/itk-archive +rm -rf ~/data/itk-archive && mkdir -p ~/data/itk-archive && tar -xf ~/data/itk-archive.tar.gz -C ~/data/ +cd ~/data/itk-archive w3 put . --no-wrap -n ITKData-v -H +cd - ``` Edit the *README.md* file with the new root CID and push. @@ -298,24 +311,6 @@ ipfs pin add /ipfs/bafy ipfs pin remote add --service=pinata --name=ITKData-ITK-v /ipfs/bafy ``` -### Pin the CID on Kitware's ipfs server - -Optionally, pin to Kitware's ipfs server: - -``` -ssh ipfs -export IPFS_PATH=/data/ipfs -ipfs pin add --progress /ipfs/bafy -``` - -### Rsync the data to Kitware's Apache Server - -Optionally, rsync the object to Kitware's Apache Server - -```bash -rsync -vrtL ./Objects/CID kitware@web:ITKExternalData/ -``` - ### Push the data to GitHub Pages Push the data to the [ITKTestingData] `gh-pages` branch. GitHub restricts size