Drone Releases

这个提交包含在:
Florian Brinker 2019-10-23 10:54:53 +02:00
父节点 d6c2ed6181
当前提交 86bd0ffdc8
共有 3 个文件被更改,包括 12 次插入6 次删除

查看文件

@ -19,9 +19,15 @@ steps:
image: alpine
commands:
- apk update && apk add --no-cache zip
# Delete hidden files and dirs (.git, .drone.yml)
- rm -rf .git
- rm -f .drone.yml
# Delete unneeded files/dirs
- rm -rf sources/.git
- 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
- 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 223
## Version: 2.23
## AddOnVersion %ADDON_VERSION%
## Version: %VERSION%
## Author: |c87B7CCAsto|r, @Astarax
## Contact: mail@coded-with-heart.com

查看文件

@ -8,7 +8,7 @@
AchievementInfo = {}
AchievementInfo.name = "AchievementInfo"
AchievementInfo.author = "Asto, @Astarax"
AchievementInfo.version = 2.23
AchievementInfo.version = %VERSION%
AchievementInfo.savedVars = nil
AchievementInfo.LangStore = {}