From 761c0b7dc942de68763800fd156d3609cb6d0313 Mon Sep 17 00:00:00 2001 From: Florian Brinker Date: Wed, 23 Oct 2019 11:03:00 +0200 Subject: [PATCH] Drone Releases --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 0975c16..b954e1f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,7 +24,7 @@ steps: - rm -rf sources/.drone.yml # Set Version and AddonVersion - 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/AchievementInfo.txt - sed -i "s/%ADDON_VERSION%/$ADDON_VERSION/g" sources/AchievementInfo.txt