Skip to content
Snippets Groups Projects
Commit ea7d748b authored by vuillaut's avatar vuillaut
Browse files

remove build dir in snippet and in our CI

parent 775642e6
No related branches found
No related tags found
1 merge request!243remove build dir in snippet and in our CI
Pipeline #216997 passed
This commit is part of merge request !243. Comments created here will be created in the context of that merge request.
...@@ -117,6 +117,7 @@ deploy_zenodo: ...@@ -117,6 +117,7 @@ deploy_zenodo:
- build_docker - build_docker
before_script: before_script:
- apt update && apt-get install git -y - apt update && apt-get install git -y
- git clean -f
- pip install . - pip install .
- python eossr/scripts/update_codemeta_eossr.py -c codemeta.json - python eossr/scripts/update_codemeta_eossr.py -c codemeta.json
- eossr-check-connection-zenodo --token $ZENODO_TOKEN -p $CI_PROJECT_DIR - eossr-check-connection-zenodo --token $ZENODO_TOKEN -p $CI_PROJECT_DIR
......
...@@ -43,7 +43,6 @@ deploy_zenodo: ...@@ -43,7 +43,6 @@ deploy_zenodo:
``` ```
### Upload to Sandbox Zenodo ### Upload to Sandbox Zenodo
```yaml ```yaml
stages: stages:
...@@ -59,3 +58,7 @@ deploy_zenodo: ...@@ -59,3 +58,7 @@ deploy_zenodo:
only: only:
- tags - tags
``` ```
Note: you might want to restore the directory to its tag stage if you made changes in previous CI stages
(for example removing build subdirs from previous test stages).
You may do so using `- git clean -f` in the `before_script` section.
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