Fix URLs based on repo transfer and prep for DOI snapshot#41
Conversation
|
Thanks Elizabeth.
|
samuelstevens
left a comment
There was a problem hiding this comment.
See my comment above.
I did case-preserving find+replace and the only remaining instances of
The workflow is our standard Zenodo metadata checker using Zenodo's action to validate the formatting. It's set up to only run when that or the |
|
The find+replace worked okay. But I think using a script on developer machines is much, much easier than Github Actions. Can you add a short script #!/bin/sh
if command -v npx >/dev/null 2>&1; then
exec npx zenodraft metadata validate .zenodo.json
elif command -v bunx >/dev/null 2>&1; then
exec bunx zenodraft metadata validate .zenodo.json
elif command -v dx >/dev/null 2>&1; then
exec dx zenodraft metadata validate .zenodo.json
elif command -v deno >/dev/null 2>&1; then
exec deno run --allow-read npm:zenodraft metadata validate .zenodo.json
else
echo "no runner found (tried: npx bunx dx deno)" >&2
exit 1
fiAnd add this runner to the justfile under |
Prepares this repo for a release and Zenodo snapshot:
CITATION.cffand adds.zenodo.jsonand associated validation workflow.