Commit 23f9fb57 authored by Enrique Garcia's avatar Enrique Garcia
Browse files

update readme and gitlab-ci vars due to new release

parent b8bc2ad7
Pipeline #120650 passed with stages
in 1 minute and 12 seconds
...@@ -73,7 +73,7 @@ build_docker: ...@@ -73,7 +73,7 @@ build_docker:
deploy_sandbox: deploy_sandbox:
stage: deploy stage: deploy
image: gitlab-registry.in2p3.fr/escape2020/wp3/zenodoci:v1.1 image: gitlab-registry.in2p3.fr/escape2020/wp3/zenodoci:v1.2
before_script: before_script:
- which parse_last_release_git.sh - which parse_last_release_git.sh
- test_connection_zenodo --token $SANDBOX_ZENODO_TOKEN --sandbox True -p $CI_PROJECT_DIR - test_connection_zenodo --token $SANDBOX_ZENODO_TOKEN --sandbox True -p $CI_PROJECT_DIR
...@@ -92,9 +92,10 @@ deploy_sandbox: ...@@ -92,9 +92,10 @@ deploy_sandbox:
- ls ./build - ls ./build
- upload_new_deposit --token $SANDBOX_ZENODO_TOKEN --sandbox True --input-dir ./build - upload_new_deposit --token $SANDBOX_ZENODO_TOKEN --sandbox True --input-dir ./build
- upload_new_version_deposit -t $SANDBOX_ZENODO_TOKEN -s True -i ./build -id $ZENODO_PROJECT_ID - upload_new_version_deposit --token $SANDBOX_ZENODO_TOKEN --sandbox True --input-dir ./build --deposit_id $SANDBOX_ZENODO_PROJECT_ID
except: except:
- master # run only in branches - master # run only in branches
- tags
deploy_zenodo: deploy_zenodo:
...@@ -108,6 +109,6 @@ deploy_zenodo: ...@@ -108,6 +109,6 @@ deploy_zenodo:
- if [[ -f ./codemeta.json ]]; then cp ./codemeta.json ./build; fi - if [[ -f ./codemeta.json ]]; then cp ./codemeta.json ./build; fi
- ls ./build - ls ./build
- upload_new_deposit --token $ZENODO_TOKEN --sandbox False --input-dir ./build - upload_new_version_deposit -t $ZENODO_TOKEN -s False -i ./build -id $ZENODO_PROJECT_ID
only: only:
- tags - tags
# ZenodoCI # ZenodoCI
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4786641.svg)](https://doi.org/10.5281/zenodo.4786641)
[![pipeline status](https://gitlab.in2p3.fr/escape2020/wp3/zenodoci/badges/master/pipeline.svg)]( [![pipeline status](https://gitlab.in2p3.fr/escape2020/wp3/zenodoci/badges/master/pipeline.svg)](
https://gitlab.in2p3.fr/escape2020/wp3/zenodoci/-/commits/master) https://gitlab.in2p3.fr/escape2020/wp3/zenodoci/-/commits/master)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
......
...@@ -128,7 +128,7 @@ def main(): ...@@ -128,7 +128,7 @@ def main():
update_entry.json()) update_entry.json())
# 4 - publish entry - to publish the entry, uncomment the two lone below # 4 - publish entry - to publish the entry, uncomment the two lone below
# publish = z.publish_entry(new_deposition_id) # publish = zenodo.publish_entry(new_deposition_id)
# print(publish.json()) # print(publish.json())
print(" * New version of the old deposition correctly published !\n") print(" * New version of the old deposition correctly published !\n")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment