Drone Releases
This commit is contained in:
parent
d6c2ed6181
commit
86bd0ffdc8
12
.drone.yml
12
.drone.yml
@ -19,9 +19,15 @@ steps:
|
|||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- apk update && apk add --no-cache zip
|
- apk update && apk add --no-cache zip
|
||||||
# Delete hidden files and dirs (.git, .drone.yml)
|
# Delete unneeded files/dirs
|
||||||
- rm -rf .git
|
- rm -rf sources/.git
|
||||||
- rm -f .drone.yml
|
- rm -rf sources/.drone.yml
|
||||||
|
# Set Version and AddonVersion
|
||||||
|
- export VERSION=$DRONE_TAG
|
||||||
|
- export ADDON_VERSION=$(echo $DRONE_TAG | sef 's/\.//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
|
||||||
# Rename and zip
|
# Rename and zip
|
||||||
- mv sources AchievementInfo
|
- mv sources AchievementInfo
|
||||||
- zip -r "AchievementInfo-$DRONE_TAG.zip" ./AchievementInfo
|
- zip -r "AchievementInfo-$DRONE_TAG.zip" ./AchievementInfo
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
## Title: AchievementInfo
|
## 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.
|
## 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 223
|
## AddOnVersion %ADDON_VERSION%
|
||||||
## Version: 2.23
|
## Version: %VERSION%
|
||||||
## Author: |c87B7CCAsto|r, @Astarax
|
## Author: |c87B7CCAsto|r, @Astarax
|
||||||
## Contact: mail@coded-with-heart.com
|
## Contact: mail@coded-with-heart.com
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
AchievementInfo = {}
|
AchievementInfo = {}
|
||||||
AchievementInfo.name = "AchievementInfo"
|
AchievementInfo.name = "AchievementInfo"
|
||||||
AchievementInfo.author = "Asto, @Astarax"
|
AchievementInfo.author = "Asto, @Astarax"
|
||||||
AchievementInfo.version = 2.23
|
AchievementInfo.version = %VERSION%
|
||||||
AchievementInfo.savedVars = nil
|
AchievementInfo.savedVars = nil
|
||||||
AchievementInfo.LangStore = {}
|
AchievementInfo.LangStore = {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user