Drone Releases
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Florian Brinker 2019-10-23 11:03:00 +02:00
parent 86bd0ffdc8
commit 761c0b7dc9

View File

@ -24,7 +24,7 @@ steps:
- rm -rf sources/.drone.yml - rm -rf sources/.drone.yml
# Set Version and AddonVersion # Set Version and AddonVersion
- export VERSION=$DRONE_TAG - export VERSION=$DRONE_TAG
- export ADDON_VERSION=$(echo $DRONE_TAG | sef 's/\.//g') - export ADDON_VERSION=$(echo $DRONE_TAG | sed -E 's/(0|)\.//g')
- sed -i "s/%VERSION%/$VERSION/g" sources/AchievementInfoCommon.lua - sed -i "s/%VERSION%/$VERSION/g" sources/AchievementInfoCommon.lua
- sed -i "s/%VERSION%/$VERSION/g" sources/AchievementInfo.txt - sed -i "s/%VERSION%/$VERSION/g" sources/AchievementInfo.txt
- sed -i "s/%ADDON_VERSION%/$ADDON_VERSION/g" sources/AchievementInfo.txt - sed -i "s/%ADDON_VERSION%/$ADDON_VERSION/g" sources/AchievementInfo.txt