Syntax correctie & keep yamlint happy
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
13
.drone.yml
13
.drone.yml
@@ -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:
|
||||||
|
Reference in New Issue
Block a user