Skip to content
Snippets Groups Projects
Commit 9b9276b8 authored by Boman Romain's avatar Boman Romain
Browse files

test git archive

parent 6e60f9f2
No related branches found
No related tags found
No related merge requests found
Pipeline #7171 failed
# stages:
# - build
build_and_test:
image: registry.gitlab.com/rboman_docker/gmsh_python
# stage: build
script:
- cd cxxfem
- mkdir build
- cd build
- cmake -DFEM_USE_MKL=OFF ..
- make -j 4
# build_and_test:
# image: registry.gitlab.com/rboman_docker/gmsh_python
# # stage: build
# script:
# - cd cxxfem
# - mkdir build
# - cd build
# - cmake -DFEM_USE_MKL=OFF ..
# - make -j 4
send-snapshot:
image: python:3.6
script:
- if [[ ! $CI_COMMIT_TAG =~ ^v?[0-9]+\.[0-9]+ ]]; then exit 0; fi
- git clone https://gitlab.com/sbeniamine/gitlab2zenodo.git
- cd gitlab2zenodo
- python setup.py install
- cd ..
- rm -rf gitlab2zenodo
# - if [[ ! $CI_COMMIT_TAG =~ ^v?[0-9]+\.[0-9]+ ]]; then exit 0; fi
# - git clone https://gitlab.com/sbeniamine/gitlab2zenodo.git
# - cd gitlab2zenodo
# - python setup.py install
# - cd ..
# - rm -rf gitlab2zenodo
# - pip install gitlab2zenodo
- du -k
- git --version
- git archive --format zip --output ${CI_COMMIT_TAG#v}.zip ${CI_COMMIT_TAG}
- g2z-send -s -m .zenodo.json ${CI_COMMIT_TAG#v}.zip
only:
- tags
- ls -alF ${CI_COMMIT_TAG#v}.zip
# - g2z-send -s -m .zenodo.json ${CI_COMMIT_TAG#v}.zip
# only:
# - tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment