Fix adding unneeded files to build
Todas las comprobaciones han sido exitosas
continuous-integration/drone/tag Build is passing

Este commit está contenido en:
Florian Brinker 2019-10-27 00:31:50 +02:00
padre 13ce7bd072
commit 0d06cdd5e1

Ver fichero

@ -27,7 +27,10 @@ steps:
commands:
- apk update && apk add --no-cache zip
# Delete unneeded files/dirs
- rm -rf sources/{.git,.drone.*,.luacheckrc}
- rm -rf sources/.git
- rm -f sources/.drone.status
- rm -f sources/.drone.yml
- rm -f sources/.luacheckrc
# Set Version and AddonVersion
- export VERSION=$DRONE_TAG
- export ADDON_VERSION=$(echo $DRONE_TAG | sed -E 's/(0|)\.//g')