simplify OSSR upload CI
Describe the feature you would like to see in eossr
Simplify CI script to make new upload to OSSR by including the first part in the script
- mkdir -p build
(- parse_last_release_git.sh $CI_PROJECT_NAME $CI_PROJECT_URL)
- if [[ -f ./codemeta.json ]]; then cp ./codemeta.json ./build; fi
- ls ./build
- eossr-upload-new-deposit -t $ZENODO_TOKEN -s False -i ./build -id $ZENODO_PROJECT_ID
In what context do you need this feature?
That would simplify its use across different CI (gitlab vs github at the moment).
In its current state, the script needs to be modified for GitHub actions, it could be the case again with other CI?
It would ease maintability.
Expected behavior?
Exact same command on every platform.
Possible way(s) to implement
Produce a single script to make everything?
To be discussed.