ResearchObject / workflow-run-crate

Workflow Run RO-Crate profile
https://www.researchobject.org/workflow-run-crate/
Apache License 2.0
8 stars 9 forks source link

Release 0.5 profiles #81

Closed stain closed 1 week ago

stain commented 1 week ago

Release "procedure":

  508  git checkout main
  509  git pull
  511  git checkout -b 0.5-release
  513  cd docs/
  517  cd profiles/
  519  ls -al
  520  cp -a 0.5-DRAFT 0.5
  521  git mv 0.5-DRAFT 0.6-DRAFT
  522  cd 0.6-DRAFT/
  526  find . -type f -print0 | xargs -0 sed -i s/0.5-DRAFT/0.6-DRAFT/g 
  527  cd ..
  528  cd 0.5/
  529  find . -type f -print0 | xargs -0 sed -i s/0.5-DRAFT/0.5/g 
  530  ls -al
  532  cd ..
  533  ls
  534  git status
  537  git commit -m "Prepare for 0.5 release" 0.6-DRAFT/
  538  cd 0.5/
  539  git add .
  540  ls
  541  grep -r DRAFT .
  551  git status
  552  git commit -m "0.5 release"
  575  conda activate rocrate
  576  rochtml ro-crate-metadata.json
  577  cd ../workflow_run_crate/
  578  rochtml ro-crate-metadata.json
  579  cd ../provenance_run_crate/
  580  rochtml ro-crate-metadata.json
  581  cd ..
  582   cd ..
  583  cd 0.6-DRAFT/process_run_crate/
  584  cd 0.6-DRAFT/process_run_crate/
  585  rochtml ro-crate-metadata.json
  586  cd ../workflow_run_crate/
  587  rochtml ro-crate-metadata.json
  588  cd ..
  589  ls
  590  cd provenance_run_crate/
  591  rochtml ro-crate-metadata.json
  592  cd ..
  593  ls
  594  cd ..
  595  ls
  596  ls -al
  597  git status
  598  git add .
  599  git commit
  600  git status
  601  ls -al
  602  vi 0.5/index.md 
  603  ls -al
  604  rm index.md 
  605  ln -s 0.5/index.md
  606  git add index.md 
  607  git rm process_run_crate.md provenance_run_crate.md workflow_run_crate.md 
  608  ls -al
  609  ln -s 0.5/provenance_run_crate .
  610  ln -s 0.5/workflow_run_crate .
  611  ln -s 0.5/process_run_crate .
  612  ls -al
  613  git status
  614  git add .
  615  git commit
  616  git status
  617  ls -al
  618  git push
  619      git push --set-upstream origin 0.5-release

I've committed a few edits to add @base to the RO-Crate metadata so that these symlinks don't give a duplicate RO-Crate, these would later be fixed by sed -i

stain commented 1 week ago

Draft Zenodo ZIP RO-Crate including html in https://github.com/ResearchObject/workflow-run-crate/releases/tag/untagged-fd11e04339869761d025

simleo commented 1 week ago

Draft Zenodo ZIP RO-Crate including html in https://github.com/ResearchObject/workflow-run-crate/releases/tag/untagged-fd11e04339869761d025

The images are missing from the html files because with the new structure the img dir is one level up

stain commented 1 week ago

Ah right, ../img ..This one worked better:

(base) stain@xenamint:~/src/workflow-run-crate/docs/profiles/0.5$ for a in *crate ; 
do pushd $a ; pandoc -i index.md -o index.html --self-contained ; popd ; zip -r $a-0.5.zip $a ; done

Updated in https://github.com/ResearchObject/workflow-run-crate/releases/tag/untagged-fd11e04339869761d025