Compare commits
3 Commits
724194abe2
...
69d7efe6f0
Author | SHA1 | Date | |
---|---|---|---|
69d7efe6f0 | |||
202c5d0f46 | |||
476e907205 |
@@ -2,7 +2,7 @@ local addonname, shared = ...
|
||||
---@cast shared HeimdallShared
|
||||
---@cast addonname string
|
||||
|
||||
local VERSION = "3.10.1"
|
||||
local VERSION = "3.11.0"
|
||||
shared.VERSION = VERSION
|
||||
|
||||
local function init()
|
||||
|
@@ -1,6 +1,6 @@
|
||||
## Interface: 70300
|
||||
## Title: Heimdall
|
||||
## Version: 3.10.1
|
||||
## Version: 3.11.0
|
||||
## Notes: Watches over areas and alerts when hostiles spotted
|
||||
## Author: Cyka
|
||||
## SavedVariables: Heimdall_Data, Heimdall_Achievements
|
||||
|
12
release.sh
12
release.sh
@@ -11,13 +11,17 @@ if [ -z "$TAG" ]; then
|
||||
TAG="${VERSION_PARTS[0]}.${VERSION_PARTS[1]}.${VERSION_PARTS[2]}"
|
||||
# Create a new tag
|
||||
git tag $TAG
|
||||
git push origin $TAG
|
||||
fi
|
||||
echo "Tag: $TAG"
|
||||
|
||||
echo "Building the thing..."
|
||||
sed -i "s/## Version: $CURRENT_VERSION/## Version: $NEW_VERSION/" Heimdall.toc
|
||||
sed -i "s/local VERSION = \"$CURRENT_VERSION\"/local VERSION = \"$NEW_VERSION\"/" Heimdall.lua
|
||||
sed -i "s/## Version: .*/## Version: $TAG/" Heimdall.toc
|
||||
sed -i "s/local VERSION = .*/local VERSION = \"$TAG\"/" Heimdall.lua
|
||||
git add Heimdall.toc Heimdall.lua
|
||||
git commit -m "Release $TAG"
|
||||
git tag -f $TAG
|
||||
git push origin $TAG
|
||||
exit 0
|
||||
|
||||
rm Heimdall-${TAG}.zip
|
||||
mkdir Heimdall
|
||||
@@ -25,7 +29,7 @@ cp *.lua *.toc Heimdall
|
||||
cp -r Modules Heimdall
|
||||
cp -r Sounds Heimdall
|
||||
cp -r Texture Heimdall
|
||||
zip -r Heimdall-${TAG}.zip Heimdall
|
||||
7z a Heimdall-${TAG}.zip Heimdall
|
||||
rm -rf Heimdall
|
||||
|
||||
echo "Creating a release..."
|
||||
|
Reference in New Issue
Block a user