Skip to content

Commit b590861

Browse files
authored
Merge pull request InsightSoftwareConsortium#5124 from thewtex/datalad-archive-clean
DOC: Remove datalad archive before regenerating
2 parents 40906ba + fd5ec47 commit b590861

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Documentation/Maintenance/Release.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,9 @@ datalad save -m "ENH: Pre-updates for ITK-v<itk-release-version>"
254254
Upload the tree to archival storage with:
255255

256256
```bash
257+
rm -rf ~/data/pre-archive && rm -f ~/data/pre-archive.tar.gz
257258
datalad export-archive ~/data/pre-archive
258-
rm -rf ~/data/pre-archive && mkdir -p ~/data/pre-archive && tar -xf ~/data/pre-archive.tar.gz -C ~/data/
259+
tar -xf ~/data/pre-archive.tar.gz -C ~/data/
259260
cd ~/data/pre-archive
260261
w3 put . --no-wrap -n ITKData-pre-verify -H
261262
cd -
@@ -282,8 +283,9 @@ add your DID, obtained with `w3 whoami`, to the shared space.
282283
Upload the repository update to web3.storage:
283284

284285
```bash
286+
rm -rf ~/data/itk-archive && rm -f ~/data/itk-archive.tar.gz
287+
tar -xf ~/data/itk-archive.tar.gz -C ~/data/
285288
datalad export-archive ~/data/itk-archive
286-
rm -rf ~/data/itk-archive && mkdir -p ~/data/itk-archive && tar -xf ~/data/itk-archive.tar.gz -C ~/data/
287289
cd ~/data/itk-archive
288290
w3 put . --no-wrap -n ITKData-v<itk-release-version> -H
289291
cd -

0 commit comments

Comments
 (0)