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