Fix adding unneeded files to build
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
13ce7bd072
commit
54f8f1ffae
@ -27,7 +27,10 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- apk update && apk add --no-cache zip
|
- apk update && apk add --no-cache zip
|
||||||
# Delete unneeded files/dirs
|
# 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
|
# Set Version and AddonVersion
|
||||||
- export VERSION=$DRONE_TAG
|
- export VERSION=$DRONE_TAG
|
||||||
- export ADDON_VERSION=$(echo $DRONE_TAG | sed -E 's/(0|)\.//g')
|
- export ADDON_VERSION=$(echo $DRONE_TAG | sed -E 's/(0|)\.//g')
|
||||||
|
Loading…
Reference in New Issue
Block a user