Skip to content
.gitlab-ci.yml 503 B
Newer Older
Alessandro Frigeri's avatar
Alessandro Frigeri committed
image: python:3.6
Alessandro Frigeri's avatar
Alessandro Frigeri committed

Alessandro Frigeri's avatar
Alessandro Frigeri committed
variables:
  GIT_STRATEGY: clone

Alessandro Frigeri's avatar
Alessandro Frigeri committed
send-snapshot:
  rules:
    - if: $CI_COMMIT_TAG =~ /^v?[0-9]+\.[0-9]+/
  script:
Alessandro Frigeri's avatar
Alessandro Frigeri committed
    - pip3 install gitlab2zenodo
    #- python -m pip install --upgrade pip
Alessandro Frigeri's avatar
Alessandro Frigeri committed
    #- git archive --format zip --prefix=Vesta-dataset/  --output ${CI_COMMIT_TAG#v}.zip ${CI_COMMIT_TAG}:data/gis/
Alessandro Frigeri's avatar
Alessandro Frigeri committed
    # - git archive --format zip --output ${CI_COMMIT_TAG#v}.zip ${CI_COMMIT_TAG}
Alessandro Frigeri's avatar
Alessandro Frigeri committed
    # - g2z-send -i $zenodo_record -t $zenodo_token -s -m .zenodo.json ${CI_COMMIT_TAG#v}.zip