Skip to content
Snippets Groups Projects
Commit 25c1dbad authored by Enrique Garcia's avatar Enrique Garcia
Browse files

Merge branch 'install_bash_script_setup' into 'master'

install bash script when installing script from setup

See merge request escape2020/wp3/zenodoci!12
parents 601100cc 21361698
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ deploy_zenodo:
#- python3 --version # 3.6 as expected
- pip install requests numpy
- pip install . # Install ZenodoCI
- which parse_last_release_git.sh
### 2 - Test the communication to Zenodo - Uncomment if needed, or if already done it manually.
- test_connection_zenodo --token $SANDBOX_ZENODO_TOKEN --sandbox True -p $CI_PROJECT_DIR
......@@ -39,7 +40,7 @@ deploy_zenodo:
### 4 - Download the repository and move it to the build directory
### If no release is found/correctly parsed, the script will download the last commit pushed to the master branch
- mkdir -p build
- /bin/bash zenodoci/parse_last_release.sh $CI_PROJECT_NAME $CI_PROJECT_URL
- parse_last_release_git.sh $CI_PROJECT_NAME $CI_PROJECT_URL
- ls ./build
### 5 - To deploy a NEW DEPOSIT to ZENODO SANDBOX
......
......@@ -25,6 +25,7 @@ setup(
'codemeta2zenodo_crosswalk @ git+https://gitlab.in2p3.fr/escape2020/wp3/codemeta2zenodo',
],
packages=find_packages(),
scripts=['zenodoci/parse_last_release_git.sh'],
# tests_require=['pytest'],
author='Enrique Garcia',
author_email='garcia<at>lapp.in2p3.fr',
......
File moved
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