Skip to content

Commit

Permalink
Merge pull request InsightSoftwareConsortium#5124 from thewtex/datala…
Browse files Browse the repository at this point in the history
…d-archive-clean

DOC: Remove datalad archive before regenerating
  • Loading branch information
thewtex authored Jan 8, 2025
2 parents 40906ba + fd5ec47 commit b590861
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Documentation/Maintenance/Release.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,9 @@ datalad save -m "ENH: Pre-updates for ITK-v<itk-release-version>"
Upload the tree to archival storage with:

```bash
rm -rf ~/data/pre-archive && rm -f ~/data/pre-archive.tar.gz
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/
tar -xf ~/data/pre-archive.tar.gz -C ~/data/
cd ~/data/pre-archive
w3 put . --no-wrap -n ITKData-pre-verify -H
cd -
Expand All @@ -282,8 +283,9 @@ add your DID, obtained with `w3 whoami`, to the shared space.
Upload the repository update to web3.storage:

```bash
rm -rf ~/data/itk-archive && rm -f ~/data/itk-archive.tar.gz
tar -xf ~/data/itk-archive.tar.gz -C ~/data/
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<itk-release-version> -H
cd -
Expand Down

0 comments on commit b590861

Please sign in to comment.