Automagically tag shit
All checks were successful
Release Workflow / release (push) Successful in 7s
All checks were successful
Release Workflow / release (push) Successful in 7s
This commit is contained in:
12
release.sh
12
release.sh
@@ -35,18 +35,8 @@ NEW_VERSION=$(increment_version "$CURRENT_VERSION" "$INCREMENT")
|
||||
sed -i "s/## Version: $CURRENT_VERSION/## Version: $NEW_VERSION/" Heimdall.toc
|
||||
sed -i "s/local VERSION = \"$CURRENT_VERSION\"/local VERSION = \"$NEW_VERSION\"/" Heimdall.lua
|
||||
|
||||
# Existing deployment steps
|
||||
rm Heimdall.zip
|
||||
mkdir Heimdall
|
||||
cp *.lua *.toc Heimdall
|
||||
cp -r Modules Heimdall
|
||||
cp -r Sounds Heimdall
|
||||
cp -r Texture Heimdall
|
||||
7z a Heimdall.zip Heimdall
|
||||
rm -rf Heimdall
|
||||
|
||||
# Git operations
|
||||
git add Heimdall.lua Heimdall.toc Heimdall.zip
|
||||
git add Heimdall.lua Heimdall.toc
|
||||
git commit -m "Release $NEW_VERSION"
|
||||
git tag "$NEW_VERSION"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user