ci: Clean up .. before it's searched for artifacts

GitLab doesn't always clean up the `..` directory, leaving things that are lated picked up as artifacts. The new rule cleans up anything that looks like an artifact before fresh ones are generated.
This commit is contained in:
Dorota Czaplejewicz
2020-01-14 18:47:04 +00:00
parent f3d852f552
commit 60c68dbf5a

View File

@ -45,6 +45,7 @@ build_deb:
paths:
- "*.deb"
script:
- rm -f ../*.deb
- apt-get -y build-dep .
- apt-get -y install devscripts
- debuild -i -us -uc -b
@ -59,6 +60,7 @@ build_deb:arm64:
paths:
- "*.deb"
script:
- rm -f ../*.deb
- apt-get -y build-dep .
- apt-get -y install devscripts
- debuild -i -us -uc -b