Syntax correctie & keep yamlint happy
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Marcel Nijenhof
2021-07-18 14:38:56 +02:00
parent b5e2dad196
commit 69dc25fcba

View File

@@ -42,6 +42,7 @@ platform:
arch: amd64 arch: amd64
variant: Fedora variant: Fedora
steps:
- name: Build package files - name: Build package files
commands: commands:
- python setup.py sdist bdist_wheel - python setup.py sdist bdist_wheel
@@ -52,7 +53,17 @@ platform:
commands: commands:
- mkdir -p "$${DOWNLOADDIR}" - mkdir -p "$${DOWNLOADDIR}"
- cd dist - cd dist
- for f in *;do if [ -f "$${DOWNLOADDIR}/$${f}" ] ; then echo version error;exit 1;else cp "$${f}" "$${DOWNLOADDIR}";fi;done - |
for f in *
do
if [ -f "$${DOWNLOADDIR}/$${f}" ]
then
echo version error
exit 1
else
cp "$${f}" "$${DOWNLOADDIR}";
fi
done
- ls -l "$${DOWNLOADDIR}" - ls -l "$${DOWNLOADDIR}"
when: when:
branch: branch: