Drone Releases

This commit is contained in:
Florian Brinker 2019-10-23 10:32:34 +02:00
parent f6609a9bf4
commit a1901dfb37

View File

@ -19,7 +19,9 @@ steps:
image: alpine image: alpine
commands: commands:
- apk update && apk add --no-cache zip - apk update && apk add --no-cache zip
- rm -rf sources/.git # Delete hidden files and dirs (.git, .drone.yml)
- rm -rf sources/.*
# Rename and zip
- mv sources AchievementInfo - mv sources AchievementInfo
- zip -r "AchievementInfo-$DRONE_TAG.zip" ./AchievementInfo - zip -r "AchievementInfo-$DRONE_TAG.zip" ./AchievementInfo
when: when: