Fix Addon Version
This commit is contained in:
förälder
02cbf2cd2b
incheckning
3279e2d0fb
@ -31,9 +31,9 @@ steps:
|
||||
# Set Version and AddonVersion
|
||||
- export VERSION=$DRONE_TAG
|
||||
- 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
|
||||
- sed -i "s/0.123456789/$VERSION/g" sources/AchievementInfoCommon.lua
|
||||
- sed -i "s/0.123456789/$VERSION/g" sources/AchievementInfo.txt
|
||||
- sed -i "s/0.123456789/$ADDON_VERSION/g" sources/AchievementInfo.txt
|
||||
# Rename and zip
|
||||
- mv sources AchievementInfo
|
||||
- zip -r "AchievementInfo-$DRONE_TAG.zip" ./AchievementInfo
|
||||
|
@ -1,7 +1,7 @@
|
||||
## Title: AchievementInfo
|
||||
## Description: Displays progress updates for achievements in the chat. You can display update-details like 'Slay 25/100 Monsters' if interested. |cFF0000Important:|r The messages appear only when an achievement is updated. This is no permanent tracking tool.
|
||||
## AddOnVersion %ADDON_VERSION%
|
||||
## Version: %VERSION%
|
||||
## AddOnVersion 0.123456789
|
||||
## Version: 0.123456789
|
||||
## Author: |c87B7CCAsto|r, @Astarax
|
||||
## Contact: mail@coded-with-heart.com
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
AchievementInfo = {}
|
||||
AchievementInfo.name = "AchievementInfo"
|
||||
AchievementInfo.author = "Asto, @Astarax"
|
||||
AchievementInfo.version = "%VERSION%"
|
||||
AchievementInfo.version = 0.123456789
|
||||
AchievementInfo.savedVars = nil
|
||||
AchievementInfo.LangStore = {}
|
||||
|
||||
|
Laddar…
Referens i nytt ärende
Block a user