Skip to content
Snippets Groups Projects
Commit 1dea0492 authored by Vuillaume's avatar Vuillaume
Browse files

Merge branch 'rmbuild' into 'master'

remove build dir in snippet and in our CI

Closes #106

See merge request !243
parents 27006bfb 09b3b7da
No related branches found
No related tags found
1 merge request!243remove build dir in snippet and in our CI
Pipeline #218239 passed with warnings
...@@ -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,11 @@ deploy_zenodo: ...@@ -59,3 +58,11 @@ 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 adding the following in the `before_script` section:
```
- apt-get install git -y
- git reset --hard HEAD && git clean -fd
```
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